Forms Data Controls :: How To Use Telerik Rad Controls
Nov 23, 2010
I'm new to teletik. Today i installed rad controls .exe file in my system. when i click the desktop icon it will redirected to server and displays like below the error.
Could not load file or assembly 'System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
If anyother reason with it and i need to change any assembly's in my bin folder or anywhere.
I want to select the row of telerik radgrid and get the value of column 1For thi can't use select or deselect columns, Here i want to select row by clicking only.here I also require code to get the value of column 1 of selected row
And in a submit button click event,I am writting the following code:ut,the problem is:I am gettting null for ChannelNumber,ServiceID,TransponderID,NetworkID,i.e.,not being able to access the values entered in those respective textboxes.Where am I going wrong?Do I need to write the same code in diff event?or diff code in diff event
I am working on a page that primarily uses Telerik RadControls, and thus uses the RadScriptManager control. However, I need to add some controls that use AjaxControlToolkit to the page, but since I cannot have two ScriptManagers on one page, so how would I do this?
Does anybody used Telerik Controls and JQuery Autocomplete together. I'm facing a typical problem Uncaught TypeError: Object #<an Object> has no method 'autocomplete' when I try to use it on pages. Telerik Script and Style are registered in master pages.
I am looking to auto tab from one RadNumericTextBox to the next once the MaxLength has been reached.I can do this in classic ASP, but cannot figure it out in .Net. Below is an example of my RadNumericTextBox.
So I have a RadPanelBar, and within that a RadTreeView. On a node click event I want so update some control.. for now I am just trying to update a textbox. It works fine except that the first time I click on a child node it takes a very long time to update the control.. Just a simple text change. I set a break point in my function and I noticed that it is taking long to fire the OnNodeClick event.. If I click a parent node in the tree view it loads fine on the first click. Also, after the first time I've clicked it.. it loads quickly.. If I refresh the page, it is slow on the first click again.. Is there something I am missing.. Is the structure of my HTML inappropriate for these AJAX calls? I feel like this is a really simple example that should work..
EDIT: I updated my code according to this article, [URL] , and the problem persisted... again it only happens the first time..
EDIT: Just to clarify, by updating according to that article, I mean that I removed all the tables and relative widths and replaced them with css positioning and fixed widths.. the problem only happens the first time.. and it only happens sometimes.. quite a few times i thought i solved the problem as it would start responding quickly.. but then after I change my .aspx and change it back (even to the exact same thing when it was working quickly).. I get the same problem..
EDIT: So, I removed the AJAX component.. and setup the control so that it does a PostBack.. and it still takes long to hit my break point.. so it seems that its not an AJAX issue... but for some reason my events are taking long to fire..
EDIT: So I followed the advice on this post and I used the webservices to do my binding and handle everything from the client side code.. All seemed to be ok until I decided that I wanted to return nodes from my webservice that could also be expanded.. So in my webservice I set the ExpandMode of my RadTreeNodeData object to Webservice.. and it renders the data correctly when I expand the child nodes.. However now I see the same problem from before where some calls take 20-30 seconds.. It takes 20-30 seconds to even hit the break point in my webservice.. Should I use the OnClientNodeExpand event instead?
foreach (Control control in ContentPlaceHolder1.Controls) { if(typeof(Control).Equals(Telerik.Web.UI.RadEditor)) { label1.Visible = true; label1.Text = "dhchk"; // control.CssFiles.Add("~/styles/myStyle.css"); } }
Error;-
'Telerik.Web.UI.RadEditor' is a 'type', which is not valid in the given context
Also, is this the correct way to add CSS class to radEditor controls ??
control.CssFiles.Add("~/styles/myStyle.css");
I actually wanna add 3-4 customized classes..how to do that?
also I was wondering if I can add some javascript or something in my Master page that will detect the ALL the radEditor controls and set their css classes ? don't know much of Javascript..how can that be made possible? how do I go about that? but first I want css classes to be set in code behind..what's wrong with the code?
[EDIT]
@Geek..I tried calling like this..is it correct?
Control c = new Control(); DoSomething(c);
now its giving this error in the method:-
The type or namespace name 'c' could not be found (are you missing a using directive or an assembly reference?)
[EDIT]
I do have this namespace added "using System.Web.UI.WebControls;" why this error ??
The pages on my project are base on master and content pages...
I want to do something with javascript(rather than jquery) in one of content pages after ALL OF MASTER AND CONTENT ELEMENTS ARE LOADED COMPLETELY.(for example set focus on a RadComboBox Control)
But alert(combo); always returns null.(the $find code is for telerik controls and the upper codes about telerik controls are completely true)To solve this null problem I test the ways shown below:
1-I Removed all of controls from master and content page except RadComboBox Control and null problem disappeared , so i derived the null peoblem is about all of elements of master and content page have not been loaded when
$find("<%= RadcbPersonelCompleteNameInvwNoskhehEdit.ClientID %>"); is fired.
2-so i used $(document).ready(function() { my codes }); instead of onload = onloadOfDocument;
3-at last i test the below code and it works perfectly : <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> <script src="../JQuery/jquery-1.4.1.js" language="javascript" type="text/javascript"></script> [code]...
What function of document should i use for doing some javascript codes after all Of MASTER AND CONTENT ELEMENTS are loaded completely?
I've got a DNN application using Telerik RadGrid. We're exporting some data from the Grid but when we drill down on the grid control and export the data we only see the initial top level data, never the updated Grid. Here's my table tag and supporting code. I'm not an expert in ASPX/C#so please forgive my newbie-ness.
I was creating another usercontrol with Telerik's RadGrid and Calendar.
[code].....
The problems are, (1) when I click the submit button. the data in the RadGrid is not changed. (2) how can we check if there is nothing selected in the Calendar controls, because there is a date (01/01/0001) set even if we do not select anything from that calendar, thus Calendar1.SelectedDate != null is not enough.
System.Configuration.ConfigurationErrorsException was unhandled by user code BareMessage=Attempting to load this property's type resulted in the following error:
Could not load type 'List(Of Telerik.Web.UI.RadMenuItem)'. Filename=C:UsersDell-HenryProjectsWinComm_Enterprise_PortalApplicationWinComm_iSolutions_Enterprise_Portal_v1.0_Dnnweb.config Line=177 Message=Attempting to load this property's type resulted in the following error: Could not load type 'List(Of Telerik.Web.UI.RadMenuItem)'.......
The Microsoft ASP.NET Web Part framework is not great at supporting AJAX or ensuring compatibility with browsers other than MSIE.
To create a more AJAX-rich portal page, using code such as jQuery UI, the Telerik RadDock, ExtJS, etc., should I abandon the ASP.NET WebPart framework, or should I try to enhance it by adding the richer JavaScript libraries on top of it?
The main features I want are the ability to drag-drop boxes around without having to go into an edit mode, have each box refresh without needing a postback, the ability to allow a user to change from three columns to four, and other features that are seen on the more notable portal sites like my.msn.com or pageflakes.com.
I would like to know how i could display data from an itemtemplate or any other form views/data-bound controls without having it render in tables? i know theres control adaptors, but is this reliable and will it work with asp.net 3.5?
I would like to find controls in the detailsview control placed in the EmptyData Template of the gridview. I am trying to create Insert new record for the gridview control.
1. If there are existing records in the table - works fine and sets my two values: I placed Detailsview and Insert Button in the footer of the gridview. I needed to set the values of two fields. When I click on the Insert button it saves new record and sets the field with the value (code attached - works fine). I also have a popup extender that opens detailsview - this works just fine.
2, If ther are not records in the table - saves record but cannot find and set controls on the detailsview Same thing setup in the EmptyData Template. The record is saved but I cannot Find and set the field value on the control.
1. Link button (on click) in the gridview footer (works fine)