Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
Hi, I'm new to working with RadDocks and have some questions (probably pretty basic ones).

My RadDocks are dynamically generated by a Button_Click event, and then recreated in the Page_Init event on each PostBack.  In RadDock1_SaveDockLayout I have:
CurrentDockStates = RadDockLayout1.GetRegisteredDocksState();

In Page_Init I call the ApplyState method of each RadDock and pass it the appropriate element in CurrentDockStates.  Then I add the RadDocks to RadDockLayout1's Controls.

Everything seems to work pretty well, but I'm not sure I'm understanding why it works.

(1) If I look at the info in CurrentDockStates, it's the info I saved at the end of the previous PostBack (as it should be, since that's when I saved it).  But I've moved the RadDock since then. (That is, it's been manually dragged from one DockZone to another by the client.)  And yet, it loads (correctly) in the position I moved it to.  So I guess there's some hidden code built into the RadDock controls that updates their position.  But if so, why is it necessary to call ApplyState at all?  I mean, if the control has more up to date info already than the info I'm passing to ApplyState.

(2) The example on dynamically generated RadDocks also had some code in RadDockLayout1_LoadDockLayout to update the Positions and Indices of the RadDocks. But even if I leave this code out, my RadDocks seem to still be showing up in the right place on PostBack.  Is the LoadDockLayout code only necessary if I were loading their positions from a file (e.g. a database)?  And why would that be necessary when I'm already calling ApplyState?

(3) The one thing that isn't working right is closing the RadDocks.  I can close them, but they reappear as soon as I have a PostBack.  How can I fix this?

Thanks in advance for answering these questions






Pero
Telerik team
 answered on 25 Jun 2009
1 answer
190 views
Hi,

Have a couple questions:

1. If dock.AutoPostback = true, can individual commands be AutoPostback = false?

2. If dock.AutoPostback = false, can individual commands be AutoPostback = true?

3. Is there anything else that could be causing a DockCommand to do a postback even though it is set to AutoPostback = false?

Thanks.

-Al
Pero
Telerik team
 answered on 25 Jun 2009
1 answer
151 views
Hello! I am a new user of the controls, and I am doing some testing to learn how to use them for a new webappl. I would like to use the panelbar as a menu, but I notice that this control makes the input cursor flicker. I checked the taskmanager, and Iexplore.exe had between 6-10% varying cpu usage on my pc. If I remove the control, things are back to normal. Also pressing the keyboard escape button stops this behaviour. I can also see this behavour by going to the demos an placing the cursor in the skin dropdown.
For instance:
http://demos.telerik.com/aspnet-ajax/panelbar/examples/functionality/firstlook/defaultcs.aspx

This is tested with Internet explorer 8.

Is there something that I can do to fix this?

Thx. for answers!
Egil M. Knudsen
Yana
Telerik team
 answered on 25 Jun 2009
1 answer
147 views
Hi,

I have a dynamically generated page which generates amongst other things, a list of color picker controls, which allows the user to select a colour for a line on a chart.  The page is displayed within a RadPane control in a RadSplitter.  The issue is that if the list of items is long, any colour pickers which are situated off the visible area of the screen remain invisible when the screen is scrolled down to view them.  The only thing that sometimes gets them to appear is resizing the page, but this is not 100% reliable and is not a good solution to the problem.  I do not have a working sample as this is being generated by data dynamically loaded from a database.

If anyone can offer any suggestions why this may happen and offer a potential fix, I would be very grateful.

Thanks in advance.
Tsvetie
Telerik team
 answered on 25 Jun 2009
1 answer
98 views
Hi

Can you show me an example about how to get the item in rotator when mouse over?  I know I need a javascript function to handle the mouseover event but I don't know how to write the handler to get the item which has the mouse over.

Thanks in advance
Edwin
Georgi Tunev
Telerik team
 answered on 25 Jun 2009
4 answers
101 views
Hi,

I'd like to set the font style of a selected row at client side. How can I do that?

Thnx
adi
Top achievements
Rank 1
 answered on 25 Jun 2009
1 answer
123 views
I am having a problem with the editor looking like crap in internet explorer 8 (including compatibility view)...please look at the following link. It is stretched more than 100% of the page. No matter what container or skin I use. The only thing I can see is there is an element style set to 100% on a bunch of the nested tables in the editor like this

<table id="dnn_ctr378_EditHTML_teContent_teContentWrapper" cellspacing="0" cellpadding="0" style="table-layout: auto; width: 100%; height: 560px;">

You can see a screenshot here

Has anyone else seen this? Is there a workaround? I am trying the editor out and this would be a deal breaker.

Thanks in Advance





Tervel
Telerik team
 answered on 25 Jun 2009
1 answer
162 views
Hello,

I'd like to drag an item from the RadFileExplorer.Grid into other RadGrid. The Grid_RowDrop event of RadFileExplorer should be fired and update the target RadGrid.
I have added a server-side event to the RadFileExplorer.Grid and also client side events:
          
 
            RadFileExplorer1.Grid.RowDrop += new GridDragDropEventHandler(Grid_RowDrop); 
 
            RadFileExplorer1.Grid.ClientSettings.ClientEvents.OnRowDragStarted = "onRowDragStarted"; 
            RadFileExplorer1.Grid.ClientSettings.ClientEvents.OnRowDropping = "onRowDropping"; 
            RadFileExplorer1.Grid.ClientSettings.ClientEvents.OnRowDropped = "onRowDropped"; 

But it had no effect. I've tried the  same with RadGrid control and it worked:
RadGrid1.RowDrop += new GridDragDropEventHandler(Grid_RowDrop);

So far I have no idea.

Kind regards,
Stefan
Lini
Telerik team
 answered on 25 Jun 2009
1 answer
268 views
Hi,
I printed the rad editor document..but at the bootom of the page,the url of the page with querystring is displaying as a link button.
I want to remove this footer..I have checked the demo..It also prints the page details on the footer of the document

Plz help me...
Thanks
Rumen
Telerik team
 answered on 25 Jun 2009
1 answer
138 views
Coming from the Windows Forms world, there is one thing I find really difficult: The impedance mismatch between css and Telerik layout controls. My lack of css expertise makes it almost impossible to get started... It would be nice to have a range of layout samples without any content goo. Just to get you started. The controls are otherwise simple to use.
Sebastian
Telerik team
 answered on 25 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?