dr = dt.NewRow();
dr["Translation"] = "TEST";
dt.Rows.Add(dr);
DataSet ds = new DataSet();
ds.Tables.Add(dt);
Session["translationDS"] = ds;
aspx:
<telerik:radtextbox Width="195px" id="RadTextBox3" runat="server" Value='<%# DataBind.Eval ???%>' ... />
Question: How can I bind the Session["translationDS"]'s specified row (for ex. 5th row Translation column->ds.Tables[0].Rows[4]["Translation"]) to RadTextBox not in runtime on aspx side. C# side is ok.
Many thanks
I am using SQL SERVER 2005 using ObjectDatasource and FormView


| function ShowItemTypeIndexDeleteForm(indexAssignmentID, indexID) | |
| { | |
| GetRadWindow().BrowserWindow.radopen("ItemTypeIndexDelete.aspx?IndexAssignmentID=" + indexAssignmentID + "&IndexID=" + indexID, "rwIndexDelete"); | |
| return false; | |
| } | |
| function CloseAndRebind() |
| { |
| GetRadWindow().Close(); |
| GetRadWindow().BrowserWindow.refreshIndexesGrid('Rebind'); |
| } |
| function GetRadWindow() |
| { |
| var oWindow = null; |
| if (window.radWindow) |
| { |
| oWindow = window.radWindow; |
| } |
| else if (window.frameElement.radWindow) |
| { |
| oWindow = window.frameElement.radWindow; |
| } |
| return oWindow; |
| } |
| function AjaxRequestMethod(target, arguments) | |
| { | |
| var ajaxManager = $find("<%= ramMain.ClientID %>"); | |
| ajaxManager.ajaxRequestWithTarget(target, arguments); | |
| } | |
| function refreshIndexesGrid(arg) | |
| { | |
| AjaxRequestMethod('<%= rgAssignedIndexes.UniqueID %>', 'Rebind'); | |
| } | |
| InjectScript.Text = "<script type='text/javascript'>CloseAndRebind('Rebind')</" & "script>" |