can any one help me out with this Telerik.web.SessionDS ....I am trying to add this to the ascx file .It says there is no such namespace.
But I can find the file in C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q1 2011\Live Demos\App_Code with name SessionDataSource.cs....I don't Know y it is not taking and i tried with the alternative sqldatasource with the example in the below link.
http://demos.telerik.com/aspnet-ajax/Common/QSFInstructions/Instructions.html
In my case the CategoryID in the example is a dropdown.The dropdown fields are neither updating or when clicked on edit the the dropdown does not have the selected field.
please give me some suggestions.
Thanks,
sravz
But I can find the file in C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q1 2011\Live Demos\App_Code with name SessionDataSource.cs....I don't Know y it is not taking and i tried with the alternative sqldatasource with the example in the below link.
http://demos.telerik.com/aspnet-ajax/Common/QSFInstructions/Instructions.html
In my case the CategoryID in the example is a dropdown.The dropdown fields are neither updating or when clicked on edit the the dropdown does not have the selected field.
please give me some suggestions.
Thanks,
sravz
5 Answers, 1 is accepted
0

sravanthi
Top achievements
Rank 1
answered on 04 May 2011, 08:08 PM
Actually Never mind ....I found the mistake what I am doing
Thanks,
sravz
Thanks,
sravz
0

James
Top achievements
Rank 1
answered on 01 Jun 2011, 05:54 PM
What was the solution?
0

sravanthi
Top achievements
Rank 1
answered on 01 Jun 2011, 06:18 PM
Hi COLEY,
It worked out for me with sql data source.I dont't know y the sessiondatasource doesn't work.
If u are looking for session data source I had no clue about it.
Thanks,
Sravanthi
It worked out for me with sql data source.I dont't know y the sessiondatasource doesn't work.
If u are looking for session data source I had no clue about it.
Thanks,
Sravanthi
0

James
Top achievements
Rank 1
answered on 01 Jun 2011, 06:20 PM
Nice, I actually just found that solution as well here:
http://demos.telerik.com/aspnet-ajax/Common/QSFInstructions/Instructions.html
Thanks!
http://demos.telerik.com/aspnet-ajax/Common/QSFInstructions/Instructions.html
Thanks!
0

sravanthi
Top achievements
Rank 1
answered on 01 Jun 2011, 06:33 PM
Actually I followed that link, but did not get any idea y the sessiondatasource is not working.This link helped to get through the sqldatasource.If u are using SQL datasource and the combo box then the combox names should be same as the parameter name.
EG:
COMBO BOX FILLING SQLSOURCE <asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:DotNetNukeConnectionString2 %>"
SelectCommand="SELECT ID AS CLIENTID, NAME FROM CompanyRegistration WHERE (COMPANYTYPE = 'Client')">
</asp:SqlDataSource>
and the parameters either edit or Update must be:<asp:Parameter Name="CLIENTID" Type="Int32" />
That is the mistake I found in my coding.
Thanks,
Sravz
EG:
COMBO BOX FILLING SQLSOURCE <asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:DotNetNukeConnectionString2 %>"
SelectCommand="SELECT ID AS CLIENTID, NAME FROM CompanyRegistration WHERE (COMPANYTYPE = 'Client')">
</asp:SqlDataSource>
and the parameters either edit or Update must be:<asp:Parameter Name="CLIENTID" Type="Int32" />
That is the mistake I found in my coding.
Thanks,
Sravz