Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 views
Hi,

How can I implement row-wise grouping in rad grid.

The expected result is as follows: (here the grouping is based on Field1)
----------------------------------------------
Field1         Field2           Field3
----------------------------------------------
val1             Value1          Value2
                   -------------------------------
                   Value3           Value4
                   -------------------------------
                    Value5            Value6
----------------------------------------------
val2              Value7            Value8
----------------------------------------------


Thanks,
Prasad J.
Yavor
Telerik team
 answered on 08 Dec 2008
1 answer
127 views
I want to put a invisible menu named 'options' on each row of my grid. When user brings mouse over that, it should get visible and gets invisible again on mouseOut. And a small menu drops out by click that 'option'. How to do that using javascript and how to know that what option has been selected at client side?
Princy
Top achievements
Rank 2
 answered on 08 Dec 2008
1 answer
129 views
I'm having a really weird error with my brand spanking new full copy of the Rad controls. I've been working with the RadGrid for the last couple of weeks (its awesome by the way) and put it on a page got it all styled up and looking amazing. Now, I've move on to starting to work on Docks. I was attempting to style them and I couldn't get my buttons or a lot of styles to show up in firefox. So, I stripped everything away and just put a simple dock in a dock zone and in a dock layout. Put a skin on it (black now but have tried several others) and gave it a title. Basically the simplest thing you could do with dock. I went through and checked all the browsers to see how this looked in all of them. IE6 and 7 fine, Opera fine, Safari fine, Firefox 2 and 3 no skin I get an all white dock with the title (I can drag it around the page so I know its a dock) in italic. I have a master page and all the styling looks fine on all browsers All the styles on my radgrid look good on all browsers, I am using mostly styles from my .css file on my radgrid and if I override the skin on the dock I can see some styles, but not everything (especially the command buttons) I would like to use a skin as my base and just change what I need from there. I put a radstylesheet manager on the page and turned outputcompression off (thats how I got it to work on all the other non-ie browsers), but still no skin on firefox.  As I said earlier we are using a masterpage and do have compression in our global.asax. But I can't see how either one of those issues would just effect firefox. Any help or places to look to solve these problems would be much appreciated
Martin
Telerik team
 answered on 08 Dec 2008
1 answer
99 views
I recently upgraded from 2008.Q3.1105 to 2008.Q3.1125, and the icons on my date and time pickers changed.  I am specifying the image url's like this:

<telerik:RadDatePicker ID="RadDatePicker1" runat="server" Skin="WebBlue">  
    <DatePopupButton ImageUrl="~/images/icons/date.gif" HoverImageUrl="~/images/icons/date_hover.gif" /> 
</telerik:RadDatePicker> 

This worked fine before, but now, instead of my icon, I get the << icon from the calendar.  If I remove the DatePopupButton tag, the default calendar icon from the skin shows up, but I'm unable to specify my own custom icon.
Dimo
Telerik team
 answered on 08 Dec 2008
1 answer
149 views
Hi,

I've been trying to figure out if this is even possible. I have a application with high demands on performance and would like to use the gridview filters for filtering in SQL. I would like to do something like this....

protected void RadGrid_NeedDataSource( object source, GridNeedDataSourceEventArgs e ) 
{ 
                ObjectID statusID = null; 
                IssueStatusDropDownList statusDropDownList = ((RadGridIssueStatusColumn)_radGrid.Columns.FindByUniqueName( "StatusColumn" )).FilterDropDownList; 
                if( statusDropDownList != null ) 
                { 
                    if( statusDropDownList.SelectedValue != IssueStatusDropDownList.ALL_ISSUE_STATUSES ) 
                        statusID = new ObjectID( statusDropDownList.SelectedValue ); 
                } 
 
                List<Issue> issueList = Issue.GetList( statusID ); 
                _radGrid.DataSource = issueList; 
} 

Is this possible?


Yavor
Telerik team
 answered on 08 Dec 2008
1 answer
95 views
I have 6 RadUpload controls on my page. The page also has a number of UpdatePanels. The RadUpload controls are NOT contained within an UpdatePanel. Whenever one of the UpdatePanels does a partial page postback, it appears that the RadUpload controls kick-off the upload process. That is, when the parial postback is performed, requests start happing for Telerik.RadUploadProgressHandler.ashx?RadUrid=aea494f2-65ea-43ca-88ce-a02b0e247da2&RadUploadTimeStamp=1228431329855&. I assume that these are RadProgressArea polling the the upload handler.
These request happen quite frequently, and they appear to be a real drag, latency-wise.

Is there a way to prevent this polling from starting untill a specific button is clicked?
Veselin Vasilev
Telerik team
 answered on 08 Dec 2008
1 answer
143 views
When I set autolayout to true within my chart, I get the error:

Length cannot be less than zero.
Parameter name: length

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.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length


Why is this?
Ves
Telerik team
 answered on 08 Dec 2008
19 answers
398 views
Hi!

Im trying do a ajax request with the ajaxmanager from a callback function, but the ajaxmanager is null when called form the callback. A simple test can be made.

Do the request, in the callback handler do another request as follow:

        function PressMe() 
        { 
            SendRequest("From Press Me"); 
        } 
         
        function SendRequest(message) 
        { 
            var ajaxManager = $find("RadAjaxManager1"); 
            ajaxManager.ajaxRequest(message); 
        } 
         
        function RequestCallback() 
        { 
            //setTimeout("SendRequest('From Callback');",0); 
            SendRequest("From Callback"); 
        }

The first time the 'SendRequest' is called it finds the ajaxManager and does the request. Then the RequestCallBack is called from the server-side :

      protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e) 
{
   RadAjaxManager1.ResponseScripts.Add("RequestCallback();"); 
} 

It adds the script and calls the client-side 'RequestCallback' funtion and sends now the second request, but this time the ajaxaManager object is null!
The intresting fact is that if I do a time out with 0 milisecond wait ( commentded code ) it finds the ajaxManager.

Maybe something with the context of this ResponseScripts? Any ideas?

Thanks.
Nate Pinchot
Top achievements
Rank 1
 answered on 08 Dec 2008
1 answer
711 views
How do I users from entering negative values in a RadNumericTextbox
?
Princy
Top achievements
Rank 2
 answered on 08 Dec 2008
3 answers
205 views
Hello,

I followed the example in this URL to obtain the values of selected rows in the client clientside:

http://www.telerik.com/help/aspnet-ajax/grdgettingcellvaluesforselectedrowsclientside.html

This is my code:

        var masterTableView = $find("RadGrid1").get_masterTableView(); 
        var selectedRows = masterTableView.get_selectedItems(); 
        var count = selectedRows.length; 
        for (var i = 0; i < count; i++) { 
            var row = selectedRows[i]; 
            var cell = masterTableView.getCellByColumnUniqueName(row, "Name"); 


getCellByColumnUniqueName gets me the values from cell.innerHTML, however the values contain the <span ..> element markup enclosing the value, which I don't want. Is there another way to get the values without having to parse out the <span> markup?  I tried the following but it doesn't work:

            // this doesn't work
            // var dataItem = selectedDataItems[i];
            // alert(dataItem.getDataKeyValue('Name'));

Thank you,
Alex



Shinu
Top achievements
Rank 2
 answered on 08 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?