C# - Any Pointers To How To Use Telerik RADGrid In C Sharp
Mar 24, 2011give me any pointers for free tutorial on RADGRID or give me a simple example on how to create a RADGRID and bind it to data source.
View 2 Repliesgive me any pointers for free tutorial on RADGRID or give me a simple example on how to create a RADGRID and bind it to data source.
View 2 RepliesIs anyone able to offer any decent alternatives to the telerik ASP.Net controls.
I'm in the market for a decent grid control with all singing all dancing extensions... bt I'm finding the telerik grid really hard work to deal with.
The telerik controls do look good, but after a day of hard work with them I'm just looking to see if there are any other 3rd party offerings?
What's the simplest way to add a new row to a Telerik RadGrid in ASP.NET from code behind?
View 2 RepliesI've tried to find the answer, but am not having any luck and am wasting to much time trying to figure it out. Using RadGrid from Telerik, latest version of their Ajax Controls, I've added a Select to each row, and can't figure out how to get the value of the selected row. Prefer to get the value of the ID column (from ID field in my database) or other specific columns. C# or VB example will work, VB preferred.
View 2 RepliesHow to refresh Telerik:radgrid contorl using Javascript ?
View 2 RepliesI'm really new to asp.net and Telerik...
I have a RadGrid with filtering. I set AutoPostBackOnFilter="true" and CurrentFilterFunction="Contains" on my columns. Ok it works fine, user don't have to open drop-down list to select type of filter. But now, I want to hide filter buttons.
I need to collect additional information from the user when they initiate a delete on a radgrid. Right now I am presenting the user with a confirmation dialog box that lets them click "OK" to continue but I need to add an additional textbox to collect a reason.
View 1 RepliesI have a radGrid on the page with the "Add New Record" button. When I click the "Add New Record" button, a textbox appears above each column that allows me to enter values. I want to limit the number of characters that can be entered in the textbox. How do I set the MaxLength of those textboxes
View 1 RepliesI have a checkbox column in a RadGrid that I want the user to be able to check/uncheck it and set the attached property. When the grid renders however, the checkboxes are disabled, because the grid is not in "edit mode". All the examples I'm finding want me to go through a lengthy process of selecting the record, putting it into edit mode, changing the value, saving the value.... yada yada yada...I just want the whole grid to be in edit mode (or the column, or whatever works) from the get-go, so the end user can make a one-click change to the data value. I know there must be a way to do this, I just can't seem to find it.
View 1 RepliesI have a page with a drop-down. Based on the selection in the drop-down, data gets loaded and populates a RadGrid. I am using a custom user control for the EditTemplate, so I can't use radGrid.DataBind(). Instead, I have to use radGrid.MasterTableView.Rebind() in association with a NeedDataSource event handler.
My problem is that when I load the page initially, I populate the drop-down and automatically select a value (first item in the list) which triggers the databinding on the RadGrid. I can step through the code in debug mode and see that the grid is being populated with data, but when the page displays, it doesn't get rendered. When I then manually choose an item from the drop-down, which triggers the same grid databinding code, it displays properly the second time.
How do I get it to display the grid the first time the page loads?
I'm getting a blank column when switching to another page using the default pager in the telerik radgrid. As data for each row, it shows the type of data i am using for the rows (SearchRecord)
Anyone have any clues as to why this may be happening? It doesn't show up on initial population of the grid, but only when I do paging. My columns are built dynamically but i confirmed that when my columns are built, they are the correct number.
When handling the OnUpdateCommand event on a RadGrid the DataItem is null.
I thought that this would also represent the data item being represented by the row.
The Radgrid is populated from an IList and in the handler the code looks like this...
protected void rgAllocatedClients_UpdateCommand(object sender, GridCommandEventArgs e)
{
if (e.Item is GridDataItem)
{
var gridDataItem = e.Item as GridDataItem;
var client= gridDataItem .DataItem as Client;
This works find when handling the ItemDataBound event but not when handling the UpdateCommand event. I really need this as in my Client class is the Id of the row I want to handle the update for.
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.
<mastertableview autogeneratecolumns="False" datakeynames="AccountId" datasourceid="SqlDataSource1"
groupsdefaultexpanded="False">
<DetailTables>
[code]...
how to find html anchor control in telerik:radgrid ?
View 1 RepliesI wanted to ask what is the best practice to manage width of the radGrid.
For my application most users are running 1280 x 1024 so I would be happy to set my overall grid width to 1100. However, depending on the form in use, I sometimes have horizantal scroll bars. To solve this, I have been playing with the width of the grid, and also I have played with setting the itemstyle-width for one or two columns. Sometimes I accidentally get it right, and sometimes it is not quite right.
What is the best way to manage this? Do I set the grid, and then all columns, or just the grid, or just the columns? I guess there is a best practice, so just wondering how you handle it,
Using VS2008, and Telerik radGrid version 2010.1.519.35
I have a about 50 DNN modules using telerik radgrid and I need to display my dates in dd/mm/yy format. It is possible to do this easily in view mode, but when I switch to edit mode, it is more of a struggle. I can write a snippit of code to reformat the displayed date values to dd/mm/yy, but for inserts the user must enter mm/dd/yy.
IOW, I need to change the culture of the form to en-GB culture.
In my DotnetNuke App, I have made a change to the web.config, but it still assumes en-US format.
I am not sure whether I need to set this at web.config level, page level or at the column within the control.
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.
doses c# dotnet has pointers if yes how can we use it ,
View 4 RepliesI have been learning ASP.NET my self and is about to dive into the nitty gritty by creating a club website for a club.
It will be basically pretty simple. It will have around 4-6 pages consisting of:
1. Homepage/News
2. Gallery
3. About
4. Contact
5. Calendar for events
My question is should I use MVC to develop such website? As I am totally a noob in MVC development, but if it is better then I would need to learn MVC first, otherwise I'll just do it the standard way.What should I use for the calendar of events?
Used jQuery enough to "enhance" my views (client side validations, modal popups, etc) but for nothing serious.Working on a app that's pretty much what one could call whatever you would call something like Google Mail.So while I'm jumping into some chapters on Asp.Net MVC with Ajax, I thought I'd ask here for some links to good resources on the topic.
One big question is if one will still be able to "post" strongly typed viewmodels? I saw some of the existing code today where the form values (there are multiple "forms" on each view, though I won't call it forms....they are not wrapped in forms!) where the values of the input controls get collected and passed on to an action method with jQuery. Did not make sense to me sending of the individual values seperately into an action method taking like 10 input parameters.
I'm planning to have a desktop app interact with some .ASP or .ASPX pages on a server.
I've only done a little bit with .asp pages and I'm thinking I'd just Post or Get a URL with some variables:
MySite.com/Functions.asp?FunctionName=?Paramater1=somevalue?Parameter2=...
I'm wondering if there is any better way to go about this?
Am I missing something? Is there perhaps a better way to go about this?
Within an existing ASP.NET page I've created the following layout, which is a tabbed header and content area. When the tabs are clicked (using JQuery) I show the relevant content, and hide all the other content for that respective tab, like so...
I'd like to expand this functionality to make it into a User Control, so that I could re-use the code more easily. Once the control is created, I'd like to be able to use it like this:[Code]....
where I can start learning how to do this, or offer direct help on the code? I've read many tutorials for creating controls using existing controls (e.g. custom labels etc) but they are all too simple. With the above, do I need to create a ContentArea control first, then work onto the TabbedControl? How do I get ASP.NET to render out the contents of my ContentArea (including ASP.NET controls that are contained within it)?
which is the better language in terms of coding, proficieny if we compare between VB.Net and C Sharp.
View 7 RepliesWhat does the underscore mean in C Sharp?
I saw a program,
Csharp Code:
Class Metals {string _metalType;public Metals(string type){_metalType = type;Console.WriteLine("Metal: " + _metalType);}}
What does the _ (underscore) mean in it?
Does that mean any static variable or something else?
I am unable to show message using msgbox.show method in c sharp which we can use in Vb.net.
How to implement such thing in c sharp