-
I tried it, but it doesn't work. I get the same error message.
Maybe there is a problem with my submit code:
public void FormEvents_Submit(object sender, SubmitEventArgs e)
{
...
-
you cant enable a control, you can disable a control via conditional formatting.
so do reverse of what u intended to do.
-
include this statement in your submit procedure
e.CancelableArgs.Cancel = false;
-
Enter some text into a Rich Text Box. Tab to another field. Go back and delete the Text. The length of the textbox will be 1. There is a character left in the Rich Text. It is represented by the decimal 160. This cause problems on validation since the RichText still has data. This does not happen Client-Side in the ...
-
How do I make controls required only if a radio button a control is a certain value? I know I can do this based on the OnAfterChange, just not sure what the code would be.
Just to rephrase -
Is there a programatic way (Vbscript) to set the attribute (Can Not Be Blank) for a control?
example:
if ...
-
Thanks Qazi--I suspected that but couldn't find it listed anywhere.
-
Hi Qazi,
Thank you very much for your quick response. I can now open my form as anonymous user.
But I have another problem. I am using this code for submitting the form:
SPSecurity.RunWithElevatedPrivileges(delegate()
{
this.Submit();
});
When I click the Submit button (in both cases: anonymously and as authenticated user) I get an ...
-
Hi. How could i enable a control on the form if it is already disabled? Thank you!
-
Hi Jonathan,
I think we've made some progress, but I'm afraid I don't understand the current issue. You mention that no error is returned and that a copy operation is taking place. If the issue is that the operation is appending data, simply change the command to /empty=yes in order to clear the table before copying. If I ...
-
Hi. I am not an expert in C# and I would like some help with the events. What I am trying to do is: I have a dropdownlist with values. When I select a value I want another dropdownlist to be enabled. When I click on the second dropdownlist I want it to be populated, using an sql query with some values using as variable the value from the ...