Problem finding text inside ReorderList(Ajax toolkit/ASP.NET) -
I've applied for a listing redistribute C # .net and everything works fine only one problem that I Can not retrieve the list data source For this reason I tried to get control of each item in the list without any success.
This is my re-inventory list
& lt; ajaxToolkit: reorderList ID = "rlVerticalMenu" Runat = "server" Draghandleelinment = "left" Aitminsrt location = "early" Detakifild = "id" Sort Ordrfild = "priority" enabled Krenwustet = "true" Onitm Rardr = "RL-Vrkitenms_itm Rikardr" callback Sistiel = "CLS Claakbak style" CSS class = "Sielsaraielarelsielsiantianer" & gt; & Lt; ItemTemplate & gt; & Lt; Div class = "clustered arrays" & gt; & Lt; Div & gt; & Lt; Asp: Label ID = "LblId" runat = "server" visible = "false" CssClass = "editable_textarea" & gt; & Lt;% # Eval ("id")%> & Lt; / Asp: Label & gt; & Lt; Div class = "vertical menu item" & gt; & Lt; Asp: Label ID = "LblDisplayName" runat = "server" CssClass = "editable_textarea" & gt; & Lt;% # Eval ("DisplayName")% & gt; & Lt; / Asp: label & gt; & Lt; / Div & gt; & Lt; Div class = "vertical menu item" & gt; & Lt; Asp: Label ID = "LblHref" runat = "server" CssClass = "editable_textarea" & gt; & Lt;% # Eval ("HRFIF")%> & Lt; / Asp: Label & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; / ItemTemplate & gt; & Lt; ReorderTemplate & gt; & Lt; Asp: panel id = "panel2" run = "server" cssClass = "clsReordercue" & gt; & Lt; / ASP: Cell & gt; & Lt; / ReorderTemplate & gt; & Lt; DragHandleTemplate & gt; & Lt; Div class = "clsdragon" & gt; & Lt; / Div & gt; & Lt; / DragHandleTemplate & gt; & Lt; / AjaxToolkit: ReorderList & gt; & Lt; Button ID = "BtnGenerateMenu" onclick = "Generate Menu ();" & Gt; Create menu & lt; / Button & gt;
When I click on the BTNgrenetain menu, I make an AJAX call and I am trying to retrieve the value of the label within each item on the back code
Can you help me
This is what I tried but it does not work
((System.Web.UI.WebControls.Label) rlVerticalMenu.Items [i] .FindControl ( "LblDisplayName") )
Any suggestions?
Thank you
I found the solution
should be labeled
'/>
Comments
Post a Comment