Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
134 views
I add these code on the page:
<script type="text/javascript">
    function scrollTop()
    {
        window.document.body.scrollTop = 0;
        window.document.documentElement.scrollTop = 0;
    }
</script>
...
RadajaxPanel1.ResponseScripts.Add("scrollTop();")
...

It's working on RadControls for ASP.Net, but it is not working on "Prometheus". Why?

Could someone finger out it?
Sebastian
Telerik team
 answered on 02 Oct 2008
3 answers
149 views
Hi

I am trying to fire the dock.Command event put it is not working.

I am building the docklayout zones and docks dynamically....  The docklayout is being placed inside a update panel.

I am using this code to create the docks....

RadDock dock = new RadDock();

dock.ID =

"DockID_" + ControlID.ToString();

dock.Title = ControlName;

dock.AutoPostBack =

true;

dock.Commands.Add(

new DockCloseCommand());

dock.DockPositionChanged +=

new DockPositionChangedEventHandler(dock_DockPositionChanged);

dock.Command +=

new DockCommandEventHandler(dock_Command);

dock.OnClientDragStart =

"StartDrag";

dock.OnClientDockPositionChanged =

"EndDrag";

The dock_Command event never fires.  Any ideas ?

Cheers

Michael
Top achievements
Rank 1
 answered on 02 Oct 2008
6 answers
1.3K+ views
Hey all.
I have an update panel around a MS panel that holds a bunch of stuff including a radCombo with a tree view in its item template.
The MS panel is displayed as a popup by the ajaxmodalpopupextender.

The combo is responding to the click but, as the title mentions,  the drop down is being renedred under the panel that is displayed by the popupextender... Not sure what to do about this. Can anyone help?
towpse
Top achievements
Rank 2
 answered on 02 Oct 2008
1 answer
148 views
i have created a compositecontrol and inside generate a radgrid.

i have a problem when i set autogeneratecolumns to false, because i can see any of the custom columns i have added. is there any way to refresh the schema in design time when i change a property?
Prangadj
Top achievements
Rank 1
 answered on 02 Oct 2008
1 answer
103 views
to collapse it

i have 2 radpanes inside a radsplitter seperated by a radsplitbar

i can drag the rad split bar up and down, but i am not able to collapse the top radpane - seems like i have to drag it to a certain location and then periodically it would show me the finger letting me know i could click on it.

any ideas of what i may be doing wrong?
Svetlina Anati
Telerik team
 answered on 02 Oct 2008
2 answers
177 views
In the demo of RadGrid for ASP.NET AJAX, there is Insert/Update/Delete - automatic operations, so user can do insert/update/delete without writing any code behind. 
In the demo, there are two "Add new record" buttons for user to click and add a new record. Is there any way that we can get rid of these 2 buttons, so that when the page is loaded, there is a blank row automaticly generated for user to type in his new record? And, after he inserts this record, another blank row generated for him to type in another record?
Thanks a lot.
qunwei
Top achievements
Rank 1
 answered on 02 Oct 2008
3 answers
91 views
Hi guys/girls

i'm trying to put a button in the group footer in the code behind with the event item Databound
Code snippet
if(e.Item is GridGroupFooterItem) 
            { 
                var Footer = (GridGroupFooterItem) e.Item; 
 
                var button = new Button(); 
                button.Click += Button1_Click; 
                button.ID = "btnNext"
                button.CausesValidation = false
                button.UseSubmitBehavior = true
                button.Text = "Next"
 
                Footer.Cells[5].Controls.Add(button); 
            } 

but when i Click on the button it's posting back but not doing the Click Even ??
anyone know how to fix this
Thanks
Sebastian
Telerik team
 answered on 02 Oct 2008
3 answers
152 views
In your online examples, the tables inside the editor have a designer border that can be toggled on or off.  Regardless of whether my "ToggleTableBorder" toolbar button is clicked on not, I can never see the borders of my tables in design view.  Is there a setting to turn this feature on, or it is possible that CSS styles could be affecting it?

Thanks,
Matt
Rumen
Telerik team
 answered on 02 Oct 2008
1 answer
112 views

When someone clicks on a row in my grid, the header wiggles left, right, left.  What is causing this?  My users are complaining that it is very annoying and would like it to stop.

Your help would be appreciated, here are my client settings:

<ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True" AllowRowHide="True" EnablePostBackOnRowClick="False" ReorderColumnsOnClient="True">  
   <Resizing AllowColumnResize="True" AllowRowResize="False" ResizeGridOnColumnResize="False" ClipCellContentOnResize="True" EnableRealTimeResize="False" /> 
   <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" /> 
   <Selecting AllowRowSelect="True" /> 
</ClientSettings> 
Kapil Jain
Top achievements
Rank 2
 answered on 02 Oct 2008
1 answer
86 views
Can I populate the ToolBarDropDown client-side in the OnClientDropDownOpening event?
Yana
Telerik team
 answered on 02 Oct 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?