I have been getting the below error, have tried every solution online i could find. even found this below solution in this forum. Even in this didn't help. I'm in bad need to get a solution for this, please
Problem:
Using the Telerik controls with RadScriptManager on your login page throws one of the following errors:
ASP.NET Ajax client-side framework failed to load
'Sys' is undefined
"Telerik.Web.UI" is undefined
Cause:
I'm using RadDropdownlist in Radgrid, "SelectedValue " or "Databinding" cause DataRowView . I don't know why?
Here is my code:
datasource part
<
asp:SqlDataSource
ID
=
"landmarketclasssqldatasource"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:myAsystemstring %>"
SelectCommand="SELECT [PK_LandMarketClass],[LandMarketClass] FROM [Ref_LandMarketClass]">
</
asp:SqlDataSource
>
<
asp:SqlDataSource
ID
=
"mysqldatasource"
runat
=
"server"
ConnectionString="<%$ ConnectionStrings:myAsystemstring %>"
SelectCommand="select a.PK_land, a.pk_bookID, a.landblockname, a.capacityrate, a.landblockarea, b.landmarketclass, a.pk_period from LD_Landblock a left join Ref_LandMarketClass b on a.PK_landmarketclass=b.PK_landmarketclass where pk_bookID=@pk_bookID"
InsertCommand ="insert into ld_landblock (PK_bookID ,landblockname,capacityrate,landblockarea, pk_landmarketclass, pk_period,pk_userIDlasteditor) values(@pk_bookid, @landblockname,@capacityrate,@landblockarea,@pk_landmarketclass,@pk_period,@pk_userIDlasteditor)"
UpdateCommand ="update ld_landblock set landblockname=@landblockname, capacityrate=@capacityrate, pk_useridlasteditor=@pk_useridlasteditor,landblockarea=@landblockarea, pk_landmarketclass=@pk_landmarketclass where pk_land=@pk_land"
DeleteCommand="delete from ld_landblock where pk_land=@pk_land"
>
<
SelectParameters
>
<
asp:ControlParameter
ControlID
=
"HFPK_BookID"
Name
=
"pk_bookID"
PropertyName
=
"Value"
/>
</
SelectParameters
>
<
InsertParameters
>
<
asp:Parameter
Name
=
"LandBlockName"
Type
=
"String"
></
asp:Parameter
>
<
asp:Parameter
Name
=
"CapacityRate"
Type
=
"Decimal"
></
asp:Parameter
>
<
asp:ControlParameter
ControlID
=
"HFPK_BookID"
Type
=
"Int32"
Name
=
"pk_bookID"
PropertyName
=
"Value"
/>
<
asp:ControlParameter
ControlID
=
"HFUserID"
Type
=
"Int32"
Name
=
"pk_userIDlasteditor"
PropertyName
=
"Value"
/>
<
asp:ControlParameter
ControlID
=
"HFPK_Period"
Type
=
"Int32"
Name
=
"pk_period"
PropertyName
=
"Value"
/>
<
asp:Parameter
Name
=
"landblockarea"
Type
=
"Decimal"
/>
<
asp:Parameter
Name
=
"pk_landmarketclass"
Type
=
"Int32"
/>
</
InsertParameters
>
<
UpdateParameters
>
<
asp:Parameter
Name
=
"PK_land"
Type
=
"Object"
/>
<
asp:Parameter
Name
=
"LandBlockName"
Type
=
"String"
></
asp:Parameter
>
<
asp:Parameter
Name
=
"CapacityRate"
Type
=
"Decimal"
></
asp:Parameter
>
<
asp:ControlParameter
ControlID
=
"HFUserID"
Type
=
"Int32"
Name
=
"pk_userIDlasteditor"
PropertyName
=
"Value"
/>
<
asp:Parameter
Name
=
"landblockarea"
Type
=
"Decimal"
/>
<
asp:Parameter
Name
=
"pk_landmarketclass"
Type
=
"Int32"
/>
</
UpdateParameters
>
<
DeleteParameters
>
<
asp:Parameter
Name
=
"PK_land"
Type
=
"Object"
></
asp:Parameter
>
</
DeleteParameters
>
</
asp:SqlDataSource
>
and raddropdownlist in radgrid
method 1
<
telerik:GridDropDownColumn
HeaderText
=
"class"
UniqueName
=
"pk_landmarketclass"
DataSourceID
=
"landmarketclasssqldatasource"
ListTextField
=
"landmarketclass"
ListValueField
=
"pk_landmarketclass"
DataField
=
"pk_landmarketclass"
>
</
telerik:GridDropDownColumn
>
method 2
<
telerik:RadDropDownList
ID
=
"RDDLlandmarketclass"
runat
=
"server"
DataSourceID
=
"landmarketclasssqldatasource"
DataTextField
=
"landmarketclass"
DataValueField
=
"pk_landmarketclass"
SelectedValue='<%# Bind("PK_landmarketclass") %>' >
</
telerik:RadDropDownList
>
neither of methods works. all of them cause datarowview error.
my reference: http://demos.telerik.com/aspnet-ajax/dropdownlist/examples/applicationscenarios/dropdownlistingird/defaultcs.aspx
http://www.telerik.com/forums/bind-dropdown-selected-value-to-a-data-source
Thanks in advance
Right now I am using open street map to show a map in the control just like your example online. And this works fine. I am now looking into adding routing on the map. I read the website that it only supports Bing maps for this.Is this for WPF only and not ASP.NET? I also saw a page on your site using layers and had a line drawn over a road to show a walking tour. The routes I want to show from one location to the other are already determined and I can supply the locations for the route. So to me the best scenario is to supply this if I can. Do you have a demo showing how I can do this to show the route on a map from point A to point B?
Thanks so much!
Warren
Hi,
What I see in the HTML chart control is almost what I need. The closest that I can get to a "generic chart" (with everything specified in the data) is binding to the XMLDataSource, but even with that, it appears that the Series Name needs to be hard-coded (not included in the XML data) or we need to write code to replace a hard-coded value with an "out of band" supplied value for each of the series names.
I've been looking through all of the demos and it appears that in every one of them, labels or titles that appear on the graph show up in the code somewhere. Then when I look at the documentation, there is no place where those labels or titles can be extracted from the data source. This would indicate to me that every graph needs to be hard-coded.
Am I missing something? I hope so. We have potentially thousands of graphing possibilities that we need to implement and would like the user to be able to design their own and this control looks pretty good, except for the "hard-coding" thing. If we could retrieve the series names from the XML input, the task would take days; if we need to individually code each chart, it will take months to staff-years.
Thanks,
Rob
Good morning,
Is there anyway to change the tooltip of the filter icon of a radgrid column, so that it displays the current filter (i.e. 'contains', 'starts with', ...)?
thanks a lot,
Gaetan
hexadecimal value 0x2D error when you export to PDF. Content is pasted in RadEditor.
Any warning message when you pasted content that is not compliant?
Hi,
I use Autocompletebox in my asp.net website for load postal code from by sql servr's database. But it take a lot of time (15 second.. to long). And It seem that, if I understand, autocomplete box load ALL my postal code from database and after that, use the string research...
My question is here, did it is possible to call a function sql server with, on parameter, the text witch is written in the Autocompletebox
I've tried a code like :
protected void RadAutoCompleteBox1_TextChanged(object sender, AutoCompleteTextEventArgs e)
{
string recherche = RadAutoCompleteBox1.Text;
SqlDataSource2.SelectCommand = "select CodePostal,NomCommune from GetVilleByCpTelerik2(" + recherche + ") order by CodePostal OFFSET 10 ROWS FETCH NEXT 10 ROWS ONLY";
}
But it doesn't work. I have error message like "The object reference is not definied"
Can I have help please ?
Ps : Sorry for my English level
Why is the dateinput rendering as type="text".
Better would be type="date" to let correct keyboard popup on iOs
Marc