Hi all,
I have an user control which have a textbox and a button, when i clicked the button it opens a Rad window that returns a value to the textbox.
I need to add this control in my grid, so I have my tamplate column and in the item template i have a label that displays a value of the datasource, but in editing mode i need to display the UC that i described at the top. here is my column code:
also i tried with :
thanks for all i really appreciate your help
I have an user control which have a textbox and a button, when i clicked the button it opens a Rad window that returns a value to the textbox.
I need to add this control in my grid, so I have my tamplate column and in the item template i have a label that displays a value of the datasource, but in editing mode i need to display the UC that i described at the top. here is my column code:
<telerik:GridTemplateColumn HeaderText="Name M"
SortExpression="NameM" UniqueName="NameM"
EditFormColumnIndex="1">
<HeaderStyle Width="80px" />
<ItemTemplate>
<asp:Label runat="server" ID="lblName"
Text='<%# Eval("Name") %>'>
</asp:Label>
</ItemTemplate>
<EditItemTemplate>
<uc1:TextboxMaster ID="TextboxMaster1" runat="server" />
</EditItemTemplate>
</telerik:GridTemplateColumn>
The label shows the
correct value, but when i enter in editing mode it shows the control,
but it didnt works, when i click the button it looks like if an event ocurrs but the window doesnt display. Also if i add the control outside the grid it works
fine, what could be the problem??? .... also i tried with :
<EditFormSettings UserControlName="/Modules/TextboxMaster.ascx"
EditFormType="WebUserControl">
<EditColumn UniqueName="EditCommandColumn2"></EditColumn>
</EditFormSettings>
but i've got the same problemthanks for all i really appreciate your help