Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
406 views
Hi,

I have a page where the active tab is changed using javascript. If the new tab is hidden beyond the scroll buttons the tab header is not displayed. Is there I can change the scroll postion using javascript so that the selected tab header scrolls into view?

Cheers
Steve
Peter
Top achievements
Rank 1
 answered on 22 Aug 2008
9 answers
629 views
I am not sure under which section this post should go...but it would be great if you could help me find a solution.

I have a hidden field inside an AJAXpanel alongwith a grid and other controls.
The grid has 2 dropdown controls. On the clientselectedindexchanged event of the frist dropdown I put the selection in a hidden field.

On the items requested event of the second dropdown i want to read the value from that hidden field and filter the dropdown.

I am able to set the value of the hidden filed.
But on the itemsrequested evnt for the second combo the hidden field loses the value. I also tried this with a textbox with its display set to none.

If I force a postback in my javascript function then the value in hidden field shows.
I know it has something to do with the AJAX postback but I am not sure how I can work around this.

Any help would be appreciated.
Veselin Vasilev
Telerik team
 answered on 22 Aug 2008
1 answer
2.0K+ views
How do you enable or disable a RadComboBox using a JavaScript function on the client side?
Rosi
Telerik team
 answered on 22 Aug 2008
1 answer
78 views
Do I have to set something so the itemclick event will fire for the Panel bar. Also my items are not expanding. Appreciate your help.
Here is the code
<telerik:RadPanelBar id="UserRadPanelBar" Runat="server" OnItemClick="UserRadPanelBar_ItemClick" AllowCollapseAllItems="True" ExpandDelay="200">
                            <collapseanimation type="InQuint"></collapseanimation>
                            <expandanimation type="InQuad"></expandanimation>
                        </telerik:RadPanelBar>
Rosi
Telerik team
 answered on 22 Aug 2008
1 answer
98 views
I am trying to provide a confrimation prompt that would allow a user a second affirmation before actually changing tabs.  Problem is it doesn't work, no matter what the user does, the tab is selected and the server event is fired.

      
    function ClientTabSelecting(sender, eventArgs)  
    {  
       var tabStrip = sender;  
       var tab = eventArgs.Tab;  
       return confirm("Are you sure you want to navigate away from this page?");  
         
    } 

<

telerik:RadTabStrip ID="RadTabStrip1" Width="100%" runat="server" Skin="Hay" OnClientTabSelecting="ClientTabSelecting" multipageid="RadMultiPage1" AutoPostBack="false" PerTabScrolling="true" ScrollButtonsPosition="Middle" />

 protected override void OnInit(EventArgs e)  
    {  
        base.OnInit(e);  
        RadTabStrip1.TabClick += new RadTabStripEventHandler(TabClicked);  
    } 
Rosi
Telerik team
 answered on 22 Aug 2008
3 answers
150 views
I have a scenario similar to your example here:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Treeview/Examples/Functionality/ContextMenu/DefaultCS.aspx

I have a specific context menu being used on the root element and a different one for all child elements (there will always only be one root). The context menu item seems to always be disabled on the root one (just like in the demo) and I need to get it enabled somehow.

Any suggestions?
Yana
Telerik team
 answered on 22 Aug 2008
1 answer
139 views

Hai,

I want to place the AutoGenerateDelete column to the last column of the grid even though my columns of the grid are autogenerate. 

I gave true for the AutoGenerateColumn and the AutoGenerateDelete column, but the AutoGenerateDelete column is come first rather than the AutoGenerateColumns.
 
Is it possible for me to position the AutoGenerateDelete column next to the AutoGeneratColumns, ie AutoGenerateDelete column should come at the last column of the grid.

Thanks and Regards,
Sushanth Mathew
Shinu
Top achievements
Rank 2
 answered on 22 Aug 2008
1 answer
126 views
Does Telerik controls have a built in soft keyboard (otherwise known as a soft keyboard)?

Developing a touch screen based website.
Missing User
 answered on 22 Aug 2008
2 answers
141 views
Hi,
I have a grid with  a context menu for right click.The context menu does not appear after I  exported grid to excel (I had to disable Ajax when exporting). How do I solve the problem?
Thanks in advance,
Dang
Shinu
Top achievements
Rank 2
 answered on 22 Aug 2008
3 answers
221 views
Halo all

I have 2 level grid.
Master - Detail.
I use NeedDataSource to bind to db.
When i insert/update the detail,
i need to sum the detail and show on master.

On UpdateCommand event,
i use grid.Rebind() to refresh the grid.
It works as i want, but the edit form is not close.
Edit form will close (as normal) if i am not using rebind()

I have tried to rebind and call the e.item.edit = false,
but it will close all the hierarchy.

Is there any way to call Rebind() in UpdateCommand event
and close the editform template?

Or is there any other better way, to refresh the master when any changed on the detail?

Thanks in advanced.
Chayady
Chayady
Top achievements
Rank 1
 answered on 22 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?