Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
130 views
Hi i have problem with set property pagerStyle in C#. I try set in Pge_Load adn Page_Init but not working. Pleas can you help my.

grid.PagerStyle.PagerTextFormat = "{4} &nbsp;<strong>{5}</strong> řádků ve <strong>{1}</strong> str."; 
grid.PagerStyle.PageSizeLabelText = "Počet řádků:"; 

Jan Mucha
Top achievements
Rank 1
 answered on 12 Mar 2010
2 answers
216 views
Does anyone have a sample of a Pager Template that only has a dropdown listbox with something like "Pg 1 of 10", "Pg 2 of 10", etc. as items in the dropdown. And then, when one of the items is selected, the grid pages to that page?

Or, if no samples, can someone point me in the right direction. Meaning, should this be server-side custom paging code or declarative code within the template?

Thanks.
Charles
Top achievements
Rank 2
 answered on 12 Mar 2010
2 answers
95 views
I am trying to update my RadGid in Code behind as

Protected

 

Sub RadGrid1_UpdateCommand(ByVal source As Object, ByVal e As GridCommandEventArgs)

 

 

Dim editedItem As GridEditableItem = TryCast(e.Item, GridEditableItem)

 

 

Dim Length As String = TryCast(editedItem("numExternalLength").Controls(0), TextBox).Text

 

 

End Sub

Here  "numExternalLength" is the unique name for GridBoundColumn.
Now the problem is it retrieves only the previous value and not the newly entered value by the user.
Please help me to get the new values that the user enters so that it can be updated in the db.

 

Saravanan
Top achievements
Rank 1
 answered on 12 Mar 2010
2 answers
111 views
Can i show "Delete this appointment" as a tooltip for the delete icon that appear while i mouse over an appointment?
Iry Lee
Top achievements
Rank 2
 answered on 12 Mar 2010
1 answer
184 views
After upgrading to 2010 Q1, I started getting these errors all over the applications, in all pages using the TabStrip control with MultiPage and TabViews:

Microsoft JScript runtime error: Sys.InvalidOperationException: Two components with the same id 'grPatients_ctl00_ctl27_mpPropertyGroups' can't be added to the application. 

The id varies depending on where the tabstrip is placed. The error comes on postbacks.
Yana
Telerik team
 answered on 12 Mar 2010
1 answer
144 views

I'm having a bit of trouble using the scrollIntoView() function of radtreenode and i think the problem is because the tree lives in a sliderpane.

I've also tried to use the SliderPane.scrollIntoView(object) by crawling up to the parent level (.parentNode.parentNode...), and invoking from there.
but keep getting "Type Mismatch", i think because this method does not accept a radtreenode as the target element.

 

 


I'm not sure what to do next.

Any ideas?

Thanks everyone for your help.

 

 

 

 

 

 

 

 

 

function rtvSurvey_ClientLoad(sender, eventArgs)   
{  
 var selectedNode = sender.get_selectedNode();  
 if (selectedNode)   
 {  
  selectedNode.scrollIntoView();  
 }  
}   
 

 

<telerik:RadSplitter ID="RadSplitter1" runat="server" Height="800px" Width="100%" HeightOffset="3"    
        LiveResize="True">     
         <telerik:RadPane ID="RadPane1" runat="server" Scrolling="X" Width="22" Height="100%">     
            <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" ClickToOpen="false" DockedPaneId="RadSlidingPane1"    
                Height="100%" Width="22">     
                <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" BorderStyle="Solid" BorderWidth="3px"    
                    DockOnOpen="true" EnableEmbeddedBaseStylesheet="False" Height="100%" Title="My Title Goes Here"    
                    Width="300px">     
                    <telerik:RadTreeView ID="RadTreeView1" OnClientLoad="RadTreeView1_ClientLoad" runat="server" EnableDragAndDrop="False" EnableDragAndDropBetweenNodes="False"    
                        EnableViewState="true" OnClientContextMenuItemClicking="onClientContextMenuItemClicking"    
                        OnClientContextMenuShowing="onClientContextMenuShowing" OnClientNodeClicking="ClientNodeClicking"    
                        Visible="true" ShowLineImages="False">   
 

 

Veronica
Telerik team
 answered on 12 Mar 2010
1 answer
101 views
The first time pages load, I create a RadGrid (OnInit) and I set the columns width. When I do a web service request, the following method is executed after that request:

function OnSuccessfullyWebServiceRequest(res){ 
    var grid = GetGrid(); 
    if (res){ 
            var masterTable = grid.get_masterTableView(); 
            var columns = masterTable.get_columns(); 
            for(var i = 0; i<columns.length; i++){ 
                var columnName = columns[i].get_uniqueName(); 
                    if (res.indexOf(columnName) < 0){ 
                        columns[i].set_visible(false); 
                    } 
                    else{ 
                        columns[i].set_visible(true); 
            } 
        } 
            masterTable.dataBind(); 
        } 
} 

The problem is after the masterTable.dataBind(), the columns width are changing. Is there a way to keep the columns settings?

Thanks.

Princy
Top achievements
Rank 2
 answered on 12 Mar 2010
1 answer
89 views
Hi.

I have a panelbar in which I have put a combobox and a textbox. I cannot get my ajaxsettings/updatedcontrols to work when they are in the panelbar it works fine when im outside of the panelbar. Im sure its a simple configuratoin that i am missing

Shinu
Top achievements
Rank 2
 answered on 12 Mar 2010
3 answers
195 views
Hello,

for Firefox, Opera, Safari and Chrome the text color doesn't
change when disabling the component.

Is it possible to leave the text color of the disabled
ListBox unchanged also for Internet Explorer?

Thank you

Alberto 
Veselin Vasilev
Telerik team
 answered on 12 Mar 2010
1 answer
90 views
im wandering why ntext field from sql server isnt shown in bound column of data grid?

any1 know why?

and what should i do to make it visible?
Webster Velasco
Top achievements
Rank 2
 answered on 12 Mar 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?