I have a requirement to postback inside of the radgrid add new record event, What I have is a service that looks up a name, when the user picks a name I want a bunch of labels to be filled out via a postback. can this be accomplished inside the add record event. i also use to edit records as well but this is easy to fill.
This si my searcher that needs to post back and fill in labels on the add new record event of the radgrid.
<
EditFormSettings
EditFormType
=
"Template"
>
<
FormTemplate
>
<
table
style
=
"width:80%;background-color:antiquewhite;border:double;margin-left:auto;margin:auto"
>
<
tr
>
<
td
>
<
asp:TextBox
ID
=
"txtSearch"
runat
=
"server"
Width
=
"260px"
AutoPostBack
=
"true"
></
asp:TextBox
>
<
asp:AutoCompleteExtender
ID
=
"txtSearch_ACE"
runat
=
"server"
DelimiterCharacters
=
""
Enabled
=
"True"
ServicePath
=
"~/iMACService.asmx"
ServiceMethod
=
"FindName"
TargetControlID
=
"txtSearch"
UseContextkey
=
"true"
MinimumPrefixLength
=
"2"
OnClientItemSelected
=
"Selected"
EnableCaching
=
"true"
CompletionInterval
=
"1"
/>
<
asp:TextBoxWatermarkExtender
ID
=
"txtSearch_WME"
runat
=
"server"
TargetControlID
=
"txtSearch"
WatermarkText
=
"Enter Last Name First Name"
WatermarkCssClass
=
"WaterMark"
/>
</
td
>
</
tr
>