Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
108 views
I have a simple question - how can I add/edit a single row in the grid with data that has been defined outside of the grid. I don't want to rebind in any way since that will cause a costly database query. I've looked at the set_datasource(json) mechanism, but that requires returning all the row data (and thus a re-query) from the Ajax/Page method call. I just want to add/edit a row with known data. With or without Ajax is fine. Is this possible?

Thanks.

- Mike
Mike
Top achievements
Rank 1
 answered on 06 Jul 2010
2 answers
116 views
I am implementing a tab control using ASP menu and multiview controls. the tab control is placed in AJAX UpdatePanel. All are standard .NET controls. Everything works fine when I test the page using visual studio. But when the page(usercontrol) is housed in Sitefinity. There are many problems. The major problem is the tabs (only tabs not the panel - menu control) disappears when there is a javascript call. I have a password field in the one of multiview panels and it has a OnkeyUp linked to a javascript function. Whenever anything is entered in that password field, the menu disappears. I also observed the tabs disappear when there is validationsummary displayed on validation fail. So i am guessing it has to do with javascript calls. Also this behavior is only observed in IE 6 and 7. It works find in IE 8 and this problem is also absent in FF.
Ivan Dimitrov
Telerik team
 answered on 06 Jul 2010
2 answers
219 views
Hello,
I have problem with hierarchy expansion:
I have a Master Grid with 2 chilidren a the same level, One Children has another child.

In the last child i user template columns and i have a button to post data.

I'm able to refresh all grid from master to last child after postback but the last child is always closed even if the parentItem's expanded property is true.

i tried to expand the child in the pre-render, to use ExpandHierarchyToTop method, to fire the Expand event manually  but it doesn't work.

Any Ideas??  
P.s.
i user LinqDataSource with it's selecting event, and i set the datasource ID programmatically to control when databind fires.

Marco
Top achievements
Rank 1
 answered on 06 Jul 2010
6 answers
208 views

Hi,

When i'm trying to resize any column in my radgrid my pager control is not displayed because the grid height is increased while resizing a column. i have checked below link with options 1. allow column resize and 2. No wrap for cell content.

http://demos.telerik.com/aspnet-ajax/grid/examples/client/resizing/defaultcs.aspx

when i'm resizing a column my filter row  hieght also get increased and due to that pager control is not displayed.
i tried to give fixed height to filter row but it is not working out.

Please suggest some solution so that when i rezise any column in my grid it should not affect the size of the grid.
and my pagercontrol should display properly

thanks
sweta

Dimo
Telerik team
 answered on 06 Jul 2010
1 answer
192 views
When I configure IIS to use the ASP.NET 4.0 AppPool, the RadCaptcha control doesn't function (broken image displays).  It functions file with ASP.NET 4.0 Classic AppPool.  This is a problem because none of my other httphandlers function correctly when using the classic app pool.
Pero
Telerik team
 answered on 06 Jul 2010
3 answers
292 views
Hi,
Ι know that it has been asked many times,but is there a workaround to get the  the temporary file's name(not the filepath,only the filename) ?
I want to check the dimensions of the uploaded image after it has been uploaded.
Unfortunately the upload with full postback is not an option,because in my scenario the're mutliple radAsyncUpload controls in the same page.
Genady Sergeev
Telerik team
 answered on 06 Jul 2010
1 answer
106 views
Hi,

        I am using a radwindow with modal background. I have a requirement to make the window float when the page is scrolled. I referred the scripts from this link,
http://www.telerik.com/community/code-library/aspnet-ajax/window/floating-r-a-d-window-on-page-scroll-window-stays-visible-during-scrolling.aspx
Find below the style and scripts,

<head runat="server"> 
    <title>Untitled Page</title> 
    <style type="text/css"> 
    html, body, form 
    { 
      padding: 0px; 
      margin: 0px; 
      height: 100%; 
      width: 100%; 
    } 
     
    .RadWindow 
    { 
        position: fixed !important; 
 
    } 
    </style> 
</head> 
<script type="text/javascript"> 
            function GetSelectedWindow() 
            { 
                var oManager = GetRadWindowManager(); 
                return oManager.getActiveWindow();       
            } 
             
            function PositionWindow ()  
            { 
           
                var oWindow = GetSelectedWindow();   
                if (!oWindow) { 
                    return; 
                } 
                 
                var Y = document.body.clientHeight +  
                        document.body.scrollTop -  
                        oWindow.get_height(); 
                 
                var X = document.body.clientWidth +  
                        document.body.scrollLeft -  
                        oWindow.get_width(); 
 
                Y = (Y > 0) ? Y : 0; 
                X = (X > 0) ? X : 0;                     
                oWindow.moveTo(X, Y); 
            } 
 
            function InitWindow ()  
            { 
                setTimeout(function() 
                { 
                    var oWindow = GetRadWindowManager().getActiveWindow();   
                    if (!oWindow)  
                    { 
                        window.setTimeout('InitWindow()', 500); 
                    } 
 
               PositionWindow();}, 0); 
            } 

But the script is not working only in IE 6. This problem is because of the css property position : fixed. But when i tried removing, the scripts are not working. Please help with the code changes to make it work on all browsers including IE 6 mainly.

Regards,
Saravanan K
 

Svetlina Anati
Telerik team
 answered on 06 Jul 2010
1 answer
152 views
Hi!

I know it's possible to customize the text in the pager by modifying the PagerStyle and the property PagerStyleFormat. However, when using grouping and paging together, you'll notice that in the GroupHeader there will be messages like "XXX: YYY (Showing 3 of 4 items. Group continues on the next page.)" and "XXX: YYY (... group continued from the previous page. Showing 1 of 4 items.)".

Is it possible to customize these pager messages as with PagerStyleFormat? Also, if it can be done in the ItemDataBound-event by calculating the number of items in the group, how would it be done?

Thanks!
Veli
Telerik team
 answered on 06 Jul 2010
1 answer
84 views
Hi guys,

I was wondering if I can get the list items to be wider then the original RadComboBox itself. Please see the attached screenshot of the current situation. I would love for the item to be wider so the user doesn't need to scroll.

Thnx for the help!

-Robert
Shinu
Top achievements
Rank 2
 answered on 06 Jul 2010
11 answers
518 views
Hi,
  I use Tooltip as a confirmation box in my project.  I set ManualClose to True and add a "yes" and a "no" button inside the tooltip.

  The user has to click either the "yes" or "no" button to close the tooltip.  Is there a way to hide the "close" button at the top-right corner in the tooltip?  Maybe it's very easy, but I don't know how.

Thanks.
Svetlina Anati
Telerik team
 answered on 06 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?