Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
80 views
Does the grid need to re-grab the data [run NeedDataSource] when applying a filter?

I'm dealing with a lot of data and I'd much prefer to not have to re-grab/transfer that data.
I'd be interested in being able to apply a filter without having to re-grab the data.

This also applies to paging. :)

I'm probably missing something stupid, happened last time. :-P
Nikolay Rusev
Telerik team
 answered on 13 Jul 2010
2 answers
367 views
Hi All,
I am using a GridClientSelect Column for selecting rows in client side in telerik radgrid.Its working fine in all aspects except, the checked status is going off after paging

How can we persist the checked status of Checkbox can retained even after paging in GridClientSelect Column of Telerik RadGrid.

Thanks,
A2H
A2H
Top achievements
Rank 1
 answered on 13 Jul 2010
1 answer
127 views
Hello,

Please look at the grid screen attached. In Grid we have "Value" field with some value and ellipse image button. On ellipse image button click I need a pop up screen with some data and by choosing one of them this data should be insert in "value" field of grid.
How all I can implement through telerik datagrid..please advice.
Shinu
Top achievements
Rank 2
 answered on 13 Jul 2010
1 answer
131 views
Hi there,

We are using the Version RadEditorMOSS_5_7_3_Trial. And  we are using editor as a web part. we are facing some issue related to font-size. Right now in the font size drop down box we are able to see only 3, 8 and 9. we want to set the font size as 2 . But we are unable to do it.

We tried like this:
 in the file \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\_5_7_3___1f131a624888eeed\RadControls\Editor\Skins\Default2006\EditorContentArea.css
file  we  set font-size: 9px in the BODY tag.

After that we restart our browser. But still problem persists. is it a problem with trial version and for trail version we will not be able to change it?

please do suggest how to proceed.

Thanks
Amit
Stanimir
Telerik team
 answered on 13 Jul 2010
1 answer
231 views
This doesn't seem like it should be that difficult but I can't figure out how to do it.   I have a grid with an ImageButton template column.   When the ImageButton is clicked, I want to access the grid and retrieve certain column key values from that row on the client side.  The row is not selected, so the grid.get_masterTableView().get_selectedItems()[0] does not work.    How can I do this?

Thanks,
Jeff G.
Princy
Top achievements
Rank 2
 answered on 13 Jul 2010
2 answers
143 views
Hi, does anyone know how to automatically select a new row immediately after adding it? I would like my users to be able to add a new row and then it is selected (highlighted) automatically (wouldn't want to tire their fingers out ...joke).

Thanks.
GlenB
Top achievements
Rank 1
 answered on 13 Jul 2010
0 answers
282 views
Just FYI, I was getting a 401 from my Captcha control (using SharePoint + IIS6) when it accesses the Telerik.Web.UI.WebResource.axd handler. This is because my SharePoint site is not anonymous at the top level, but only at specific sub-site levels.

Adding this to the Web.config file seemed to work:

<location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
      <authorization>
        <allow users="*"/>       
      </authorization>      
    </system.web>
  </location>

Lynne
Top achievements
Rank 1
 asked on 13 Jul 2010
2 answers
97 views
Hi,

I want to open Radwindow,when i check the node in RadTreeview. for that i used node_check event().and Radwindow.visibleOnpageLoad=true;  RadWindow is opening with button_click,but not opening with Treeview.node_check event.

protected

 

void RadTreeView1_NodeCheck(object sender, RadTreeNodeEventArgs e)

 

{

 

RadTreeNode node = e.Node;

 

}

 

if (e.Node.Text == "Chief Complaints")

 

{

// not working
RadWindow1.VisibleOnPageLoad =

true;

 

}

 

}

 

protected

 

void b1_Click(object sender, EventArgs e)

 

{
//working

RadWindow1.VisibleOnPageLoad =

true;

 

}

 


Regards,
Srikanth.

Srikanth
Top achievements
Rank 1
 answered on 13 Jul 2010
5 answers
464 views
Using 3.5 controls - Have Telerik project set to use the 3.5 binary inside my solution structure.

I have a web page with a gridview control with paging enabled. The data is coming from a sql datasource (I also tried changing it to use a List<> with the OnNeedDataSource event.

I can view the grid fine and page back and forth between the numeric pages however when I change the PageSize drop down I get this error message.

Unable to cast object of type 'ASP.masterpage_master' to type 'Telerik.Web.UI.GridTableView'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidCastException: Unable to cast object of type 'ASP.masterpage_master' to type 'Telerik.Web.UI.GridTableView'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidCastException: Unable to cast object of type 'ASP.masterpage_master' to type 'Telerik.Web.UI.GridTableView'.]
   Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +1719
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

I put the Telerik.Web.UI.DLL into reflector and inspected the  raisepostbackevent method for the radgrid I'm only seeing 2 places where it directly casts it to a GridTableView

    if (eventArgument.IndexOf("FireCommand") != -1) 
    { 
        GridGroupByExpression expression2; 
        GridGroupByExpression expression3; 
        string id = eventArgument.Split(new char[] { ';' })[0].Split(new char[] { ':' })[1]; 
        GridTableView tableView = (GridTableView) this.Page.FindControl(id); 
 ...
    if (eventArgument.IndexOf("ReorderColumns") != -1) 
    { 
        GridTableView view = (GridTableView) this.Page.FindControl(eventArgument.Split(new char[] { ',' })[1]); 

Is there any chance that eventArgument.Split is returning something like "this" that it would pick up the masterpage reference somehow?

Or does anyone have any idea what could be causing this error?


smith spd
Top achievements
Rank 1
 answered on 12 Jul 2010
0 answers
99 views
I have a context menu that has an "edit" item. I would like to have that "edit" item perform as the double click functionality does. What it does not seem to do is handle recurring events properly -- it does not popup the box that asks whether to edit a single occurrence or the whole series.

EDIT: Disregard. I had code that was breaking this functionality. It is now working.
lordscarlet
Top achievements
Rank 1
 asked on 12 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?