Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
138 views
I am attempting to set the header text of a grid based on the language of the user.  The code is getting called, but the header text is remaining what was set in the design node.  The code is getting called in Page_Load.

I am calling the following line:

grdIssues.Columns.FindByUniqueName("StatusIcons").HeaderText= GetLocalization("Flags");

Any ideas?
Shinu
Top achievements
Rank 2
 answered on 26 Aug 2009
2 answers
419 views
Hi 
    I have used Terlerik Rad Control Q2 2008 version.
    I have binded grid & set EditMode="InPlace"  property for grid,
    I have used 
    

<

 

telerik:GridDateTimeColumn DataField="DateObtained" DataFormatString="{0:dd/MM/yyyy}"

 

 

HeaderText="Date Obtained" SortExpression="DateObtained" UniqueName="DateObtained">

 

 

<ItemStyle Width="15%" />

 

 

<HeaderStyle Width="20%" />

 

 

</telerik:GridDateTimeColumn>

   At the time of editing I would like to select date in dd/MM/yyyy format . Right now it's showing in MM/dd/yyyy.

Please give me your reply.

 

Trung Nguyen
Top achievements
Rank 1
 answered on 26 Aug 2009
2 answers
136 views
Hi,

i am new to telerik controls, and i am stuck with a problem.

i need to have a radgrid in which for certain columns on mouseover i need to show an image (something like a tooltip).
when i click on that image i update all the cells in that column with the value in this particular cell. 
Even this kind of behavior is limited to only 4 or 5 columns in the grid which has 10 to 16 columns.

i can find the way to format a column , and set the display style to image but i cannot find anything which is similar to what i need.
please help me out on this as i am stuck with this.

thank you for your help,
Sai.

sai raghavendra sudha besta
Top achievements
Rank 1
 answered on 26 Aug 2009
4 answers
162 views

Hi,

I have a RadGrid that has a GridClientSelectColumn to allow user to select one or more rows for processing on the server side. The problem I am having is that when I attach an oncommand client side function to the grid the selected rows stop returning to the server side.

The OnCommand function (See Below) intercepts the edit command and opens a new page with the details.

I am using RadControls for ASPNET AJAX Q3 2008.

cheers

Gavin

Grid

<telerik:RadGrid ID="rgExceptions" runat="server" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" GridLines="None" Skin="Telerik" OnNeedDataSource="rgExceptions_NeedDataSource" AllowMultiRowSelection="True">  
                <HeaderContextMenu EnableTheming="True" Skin="Telerik">  
                    <CollapseAnimation Duration="200" Type="OutQuint" />  
                </HeaderContextMenu>  
                <MasterTableView EditMode="InPlace">  
                    <RowIndicatorColumn>  
                        <HeaderStyle Width="20px" />  
                    </RowIndicatorColumn>  
                    <ExpandCollapseColumn>  
                        <HeaderStyle Width="20px" />  
                    </ExpandCollapseColumn>  
                    <Columns>  
                        <telerik:GridClientSelectColumn UniqueName="select">  
                        </telerik:GridClientSelectColumn>  
                        <telerik:GridBoundColumn UniqueName="id" DataField="id" HeaderText="#" AllowFiltering="False"></telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="UR #" UniqueName="RefNo" DataField="RefNo">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Site Link" UniqueName="Sitelink" DataField="Sitelink">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Name" UniqueName="Name" DataField="Name">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Date of Birth" UniqueName="DOB" DataField="DOB">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Address" UniqueName="Address" DataField="Address">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridBoundColumn HeaderText="Possible Match Count" UniqueName="PossibleMatchCount" DataField="PossibleMatchCount">  
                        </telerik:GridBoundColumn>  
                        <telerik:GridEditCommandColumn EditText="Details">  
                        </telerik:GridEditCommandColumn>  
                    </Columns>  
                    <PagerStyle AlwaysVisible="True" Mode="NextPrevNumericAndAdvanced" />  
                    <EditFormSettings>  
                        <EditColumn EditText="Details" UniqueName="EditCommandColumn1">  
                        </EditColumn>  
                        <PopUpSettings Height="450px" Modal="True" Width="750px" />  
                    </EditFormSettings>  
                </MasterTableView>  
                <FilterMenu EnableTheming="True" Skin="Telerik">  
                    <CollapseAnimation Duration="200" Type="OutQuint" />  
                </FilterMenu>  
                <ClientSettings>  
                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="False" />  
                    <ClientEvents OnCommand="OnCommand" />  
                </ClientSettings>  
            </telerik:RadGrid> 

Javascript

function OnCommand(sender, args)  
{  
  var cmd = args.get_commandName();  
  if (cmd == "Edit")  
  {  
    args.set_cancel(true);  
    var grid = $find("<%= rgExceptions.ClientID%>");  
    var MasterTable = grid.get_masterTableView();  
    var row = MasterTable.get_dataItems()[args.get_commandArgument()];  
    var res = MasterTable.getCellByColumnUniqueName(row, "id").innerHTML;  
    window.open("UploadExceptionDetails.aspx?id=" + res);  
  }  

Gavin
Top achievements
Rank 1
 answered on 26 Aug 2009
1 answer
129 views
I have a RadUpload on my page and a radgrid with the binary image column.  When the page load the binary images come through just fine.  When I upload the file and call the rebind method everything loads correctly except the image columns.  The grid knows what columns have data and don't because I set the visible property on itemdatabound to false if the value of the image is null but the lines that are supposed to have images do show a border just no images.

Anyone have any issues with this.

Thanks,
Todd Anglin
Top achievements
Rank 2
 answered on 25 Aug 2009
11 answers
293 views
I am using the FrozencolumnsCount and it works fine unless I use the grouping function.   How can I get the column to stay frozen if I am grouping data?
LeBear
Top achievements
Rank 1
 answered on 25 Aug 2009
4 answers
196 views
Hi,

I am working on the RadGrid controls(Old one not the latest). In the old Rad Grid Controls, is it possible to implement the Row wise Drag and Drop option in the Grid. I have seen that in the New Telerik Rad Controls I am able to implement the drap and drop on row wise items. But I want to implement that on the old Rad Grid controls. 

My Situation, we are working on a enhancement project, In the form we have rad pageview  controls, radeditor, radgrid and other rad controls. what is happening is, when ever we replace the old radgrid with the latest telerik gird. it throws up an exception in javascript like : 'Javascript Registered Twice'. It looks like some where the old ajax javascript and new telerik javascript makes a conflict.

So I don't want to mess up with the existing souce code, since the application is already in production, I just want to replace the old Radgrid with New Telerik Rad Controls with Drag and drop functionality or is it possible to implement the Drag and drop option in old Rad Grid Controls. Either way is okay for us.

Please provide your suggestion how we can implement the Drag and drop for the row items.

Thanks,
Kamal
KG
Top achievements
Rank 1
 answered on 25 Aug 2009
3 answers
110 views
Hi, new customer. Has anyone displayed server side data in a tool tip when hovering over a specific image in a cell in a RadGrid?

Thanks in advance.

Steve
Schlurk
Top achievements
Rank 2
 answered on 25 Aug 2009
1 answer
103 views
I see a property that lets you show or hide node lines but is there a way to change the size or weight of the lines going from node to node?
Schlurk
Top achievements
Rank 2
 answered on 25 Aug 2009
2 answers
118 views
I have a user control that contains a rad grid that seems to be working great except after update.

In the user control, I register an javascript call on the updatecommand:

(Page.Master.FindControl("RadAjaxMasterManager1") as Telerik.Web.UI.RadAjaxManager).ResponseScripts.Add(statusScript);

The script calls a javascript function that does this:

        var ajaxMgr = $find("<%=RadAjaxManager.GetCurrent(Page).ClientID %>");
        ajaxMgr.ajaxRequest("ToDoRefreshAjax"); 

stepping through the code, the RaisePostBackEvent that I use to handle this runs correctly.  However when its all done running i get this javascript error:

Uncaught Sys.ArgumentNullException: Sys.ArgumentNullException: Value cannot be null.
Parameter name: id 
ScriptResource.axd:3098

and then all ajax calls stop working after this error

What is causing this error?
John
Top achievements
Rank 1
 answered on 25 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?