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

help with Telerik.web.SessionDS

5 Answers 218 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
sravanthi
Top achievements
Rank 1
sravanthi asked on 04 May 2011, 06:27 PM
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

5 Answers, 1 is accepted

Sort by
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
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
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!
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
Tags
General Discussions
Asked by
sravanthi
Top achievements
Rank 1
Answers by
sravanthi
Top achievements
Rank 1
James
Top achievements
Rank 1
Share this question
or