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

Can anyone send some sample proj which uses SOLR search and binds data using radgrid.

Will be of gr8 help

Thanks
Veli
Telerik team
 answered on 28 Dec 2011
3 answers
74 views
Hey everyone,

Thanks in advance for the help.

I have a RadComboBox that is showing multiple drop down arrows.  It only does this in IE9.  Below is my markup. 

<telerik:RadComboBox runat="server" ID="cboState" Width="300px" AllowCustomText="false" MarkFirstMatch="true" />

I have also included a picture of what is happening.

Thanks,

-zd
Ivana
Telerik team
 answered on 28 Dec 2011
9 answers
322 views
Hi,

I'm wondering if there is a way to disable all RadComboBox expand and collapse animation without having to go to each one and setting it manually the ExpandAnimation-Type and CollapseAnimation-Type. I'm trying to optimize my client side rendering and it seems a lot of my rending time is because of these built in Telerik javascripts like updatePosition and _initializeAnimation. I would like to turn them all of the easiest way.

Thanks,
Gilbert
Ivana
Telerik team
 answered on 28 Dec 2011
3 answers
160 views
I have a splitter with several panes. One of the panes contains a tabstrip/multipage with usercontrols being loaded on each pageview. Each usercontrol contains a grid. I would like to ajaxify these usercontrols individually, since there may be complex ajax interactions in each. Normally, i would just add an AjaxManagerProxy Control to the usercontrols to accomplish this. However, here's the problem I am running into.

On the page which contains all of this, I run some javascript code in the Splitter OnClientLoad and OnClientResize events in order to properly size the grids (my splitter panes contain borders and padding and i have found that they do not automatically size correctly in a number of browsers (particularly ie7). Here is my resizing code:

function OnSpliterClientLoaded(sender, args) { 
                SizeGridToFit() 
            
    
            function OnSplitterClientResized(sender, Args) { 
                SizeGridToFit();  
            
    
            function SizeGridToFit() { 
                
                var tabStrip = $find("<%= MyTabStrip.ClientID %>"); 
    
                switch (tabStrip.get_selectedTab().get_value()) { 
                    case "Travel"
                        grid = $find("<%= MyUserControl1.MyGrid.ClientID %>"); 
                        break
                    case "Other"
                        grid = $find("<%= MyUserControl2.MyGrid.ClientID %>"); 
                        break;
                
    
                if (grid) { 
                    var mpPane = $find("<%= MultiPagePane1.ClientId %>"
                        
                    grid.get_element().style.height = mpPane.get_height() - 12 + 'px'
                        
                    var ieVersion = getInternetExplorerVersion() 
                    if (ieVersion >= 0 && ieVersion < 8.0) { 
                        //necessary to get horizontal scrollbars to work in IE 7. 
                        grid.get_element().style.width = mpPane.get_width() - 12 + 'px'
                    
                        
                    grid.repaint(); 
                
                    
            
    
function getInternetExplorerVersion() 
// Returns the version of Internet Explorer or a -1 
// (indicating the use of another browser). 
    var rv = -1; // Return value assumes failure. 
    if (navigator.appName == 'Microsoft Internet Explorer') { 
        var ua = navigator.userAgent; 
        var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); 
        if (re.exec(ua) != null
            rv = parseFloat(RegExp.$1); 
    
    return rv; 
}

if i do normal postbacks, then everything works as expected. However, if I ajaxify the usercontrols using AjaxManagerProxy controls, then after an ajaxupdate, the padding below the grid disappears. What is happening is, the grid is rebound through an ajaxupdate, however the code I have for perfoming the reisizing never gets run. Attached are before and after screen captures of the page. The before shot shows what the page looks like when it is loaded or if the browser is resized. As you can see, the grid is sized properly to show the appropriate padding at the bottom. if I ajaxify the grid and then do something, like sort a column, then the padding below the grid disappears (see the after shot). Again, i have an idea why this is happening.. the grid sizing code never gets run because that code is outside the user controls and occurs as a response to events in the splitter. My question is, is there a way for me to get this to work and still ajaxify the usercontrols (grids) individually.

Tsvetina
Telerik team
 answered on 28 Dec 2011
3 answers
62 views
Hi ,

We are using telerik controls in our application the problem that we are facing is that the right context menu is not displayed on right click on the RadMenu Item in IE8 . I am not able to figure out  why this is happening . Please help us in this .


Thanks,
Rahul
Kate
Telerik team
 answered on 28 Dec 2011
1 answer
64 views
Hi There,

Pls tell me how can i change my "Background image of Ribbon Bar".
Shinu
Top achievements
Rank 2
 answered on 28 Dec 2011
1 answer
85 views
Hi sir
i want to acess the controls from client side in edit form when i click  add new button or clicking  edit...for example i want to acess machinery or material  combobox shown in...attached image file...


Thanks and regards
Rajesh

Princy
Top achievements
Rank 2
 answered on 28 Dec 2011
3 answers
219 views
Hi,
I'm trying to add button in the header of the dynamically created  column.
Can you give me an idea how to do that.
Shyam
Top achievements
Rank 1
 answered on 28 Dec 2011
1 answer
75 views
Radgrid gets misaligned with the page when we use the following settings for the RadGrid. Otherwise, it works fine when we dont use the settings.

<

 

Scrolling AllowScroll="True" UseStaticHeaders="true" FrozenColumnsCount="3" SaveScrollPosition="true" />

note: the RadGrid moves 200px to right when we use the above settings for thr RadGrid otherwise it start with 0px.

 

Shinu
Top achievements
Rank 2
 answered on 28 Dec 2011
1 answer
62 views
Do you to security i have to rum the application in Medium trust.

I am getting the following warning

Microsoft JScript runtime error: ASP.NET Ajax client-side framework failed to load.
Microsoft JScript runtime error: 'Sys' is undefined
Microsoft JScript runtime error: 'Telerik' is undefined


Inner Exceptions:

Cannot perform CAS Asserts in Security Transparent methods

in radgrid edit click.

Need help ASAP

Shinu
Top achievements
Rank 2
 answered on 28 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?