or
Dear sir ,
Radlist view edit template example on Telerik database on customerphotos table shows the following fields
| Name: |
| Title: |
| City: |
| Country: |
| Phone: |
my question is how do I add the address field( in design time) to be shown and edited ,updated or even inserted in the Radlistview templates
note that I show and update the photo too
============================
what i did is reconfiguring the sqldatasource and added the field address from customerphotos
then i added in design time in edititemtemplate a binded textbox to that field but when i press update after writing in the address field and selecting an image ,I got the following error
<telerik:TreeListTemplateColumn HeaderText="Cur. Cumulative Claim " HeaderStyle-Width="100px" DataField="EntQnty" UniqueName="EnterQuantity"> <ItemTemplate> <telerik:RadNumericTextBox MaxLength="5" ID="EntQntyId" Width="80px" runat="server" Text='<%# Bind("EntQnty") %>' onkeydown="return (event.keyCode!=13);" AutoPostBack="true" FocusedStyle-BackColor="Yellow" AutoCompleteType="Disabled" OnTextChanged="EntQntyId_TextChanged"> </telerik:RadNumericTextBox> <asp:HiddenField ID="HdnEqnty" runat="server" Value='<%# Bind("PrevCert") %>' /> <asp:HiddenField ID="HdnQuantity" runat="server" Value='<%# Bind("Quantity") %>' /> </ItemTemplate> </telerik:TreeListTemplateColumn><telerik:GridDateTimeColumn DataField="cycle_date" DataFormatString="{0:d}" FilterControlAltText="Filter column13 column" HeaderText="CYCLE DATE" MinDate="1993-01-01" UniqueName="cycle_date" DataType="System.DateTime" EditDataFormatString="MM/YYYY"> <HeaderStyle HorizontalAlign="Center" /> <ItemStyle HorizontalAlign="Right" Width="125px" /></telerik:GridDateTimeColumn>e name MiddlePane - it's really the right pane (there used to be three).
Also, dv is a DiagramView (from MindFusion).
Nowhere in my code do I explicitly set the width of the left pane - only the right (middle) one.
Any ideas on what might be causing this?
Thanks in advance.
Jimvar splitter = $find("<%=RadSplitter1.ClientID %>"); if (splitter != null) { var leftpane = splitter.getPaneById('<%= LeftPane.ClientID %>'); var midpane = splitter.getPaneById('<%= MiddlePane.ClientID %>'); var leftWidth = leftpane.get_width(); } var dv = document.getElementById("<%= DiagramView1.ClientID %>"); var marginsPlusSpltibar = 35; if (leftpane != null) { //alert("In Resize Main"); // The more standards compliant browsers (mozilla/netscape/opera/chrome/IE7) use window.innerWidth and window.innerHeight if (typeof window.innerWidth != 'undefined') { //alert("One"); alert("leftWidth = " + leftWidth); var txtBannerHeight = document.getElementById('<%=txtBannerHeight.ClientID%>'); var bannerHeight = 0; if (txtBannerHeight != null) bannerHeight = parseInt(txtBannerHeight.value); var newHeight = window.innerHeight - 270 + bannerHeight; midpane.set_height(newHeight); leftpane.set_height(newHeight); var newWidth = (window.innerWidth - leftWidth - marginsPlusSpltibar); midpane.set_width(newWidth); splitter.set_height(newHeight); splitter.set_width(window.innerWidth); if (dv != null) { dv.style.height = (newHeight - 24) + "px"; dv.style.width = (newWidth - 5) + "px"; } }