Hello,
I have an Ajaxed RadGrid and while configuring my applications error handling logic I purposely set up the situation for an error to occur when a grid item is edited.
<EditItemTemplate>
Anyways, my problem is that when this error occurs (by clicking the edit link for the row) the Page.IsCallback property is not being set. This is thwarting some of my custom error handling plans. Do you have any suggestions or explanations why Page.IsCallback is not being set to true in this situation?
I have an Ajaxed RadGrid and while configuring my applications error handling logic I purposely set up the situation for an error to occur when a grid item is edited.
<EditItemTemplate>
<telerik:RadMaskedTextBox
id="IN_RMTB"
runat="server"
Mask="##-#######"
Skin="Office2007"
Width="65px"
EmptyMessage="00-0000000" />
##-####### (make sure you pad the number with zeros - ex: 08-0000123)
<asp:RequiredFieldValidator
id="IN_Suffix_RFV"
runat="server"
ErrorMessage=" Required"
ControlToValidate="IN_RMTB2"
Display="Dynamic" />
</EditItemTemplate>
Notice that the ControlToValidate property says "IN_RMTB2" when it should say "IN_RMTB".
Anyways, my problem is that when this error occurs (by clicking the edit link for the row) the Page.IsCallback property is not being set. This is thwarting some of my custom error handling plans. Do you have any suggestions or explanations why Page.IsCallback is not being set to true in this situation?