This is a migrated thread and some comments may be shown as answers.

Please help me regarding passing the value parameter of SQLDATASOURCE from RadWindow Template field. Sample code are given below.

1 Answer 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
rama
Top achievements
Rank 1
rama asked on 04 Sep 2015, 06:05 PM

Hai.

I have a problem regarding  passing parameter from radwindow template field to sqldatasource. here is eg. given below. but its not working. 

here is a scenario (A)

 

<div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:AdventureWorksConnectionString %>" 
            SelectCommand="SELECT * FROM [SalesPerson] WHERE ([TerritoryID] = @TerritoryID)">
            <SelectParameters>
                <asp:ControlParameter ControlID="TextBox1" Name="TerritoryID" 
                    PropertyName="Text" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
        <telerik:RadWindow ID="RadWindow1" runat="server">
            <ContentTemplate>
                <asp:TextBox ID="TextBox1" runat="server" Height="21px" 
    Width="60px"></asp:TextBox>
            </ContentTemplate>
        </telerik:RadWindow>
     </div>​

 

 

datasource does not recorgnised the textbox1. because of that field under radwindow template.

 

would any one help me how to recorgnise  that textbox1 in sqldatasource parameter.  

 

with regard 

Rama

 

1 Answer, 1 is accepted

Sort by
0
rama
Top achievements
Rank 1
answered on 09 Sep 2015, 11:27 AM

somebody please  please reply..

 

Tags
General Discussions
Asked by
rama
Top achievements
Rank 1
Answers by
rama
Top achievements
Rank 1
Share this question
or