Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
138 views
Hello  Sir

  I want to copy all formated content into word. How to do this ?

for example

Helllo How are you

What are doing
  1. how are you
  2. Need to copy as it cotent in word

how acheive this Help me URGENT

As it Same copy in Word

hep me urgent  This is possible or not ?????????????????????????????????????????????/


Rumen
Telerik team
 answered on 25 Jun 2009
6 answers
193 views
I have this page that plays a video file and to show it modally I'm using RadWindow. RadWindow opens this page nice and good. The problem is, once the RadWindow is closed video part disappears but you can still hear the audio. This means RadWindow is still having the page opened in the memory. How can I make this content page close completely?

One more question; how I completely get rid of RadWindow's styling and display it with no borders and controls?

Apprecite you help. Thank you.

Jasdeep

Georgi Tunev
Telerik team
 answered on 25 Jun 2009
1 answer
124 views
Hi,
I am using radtree, i have a multi-level tree, and i want to allow only reordering (allow drag and drop between the nodes that have the same immediate parent).

But i can't figure out how can i achieve it using only properties.

I can do it in eventhandler OnNodeDrop

like : "If sourceNode.ParentNode.ID = destNode.ParentNode.ID Then"

but it dosen't work if i have multiple root nodes. And i can put a node as a child node of its sibling because both have the same parent id.

Is there a way?



regards,
Naresh
Naresh
Top achievements
Rank 1
 answered on 25 Jun 2009
1 answer
108 views
I'm having a problem getting the width of a simple RadGrid to be less than 100% while using a custom skin.  The following code works as expected (version 2008.3.1105.20):
        <telerik:RadGrid ID="rg" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="false" 
            Skin="" EnableEmbeddedSkins="false"
            <MasterTableView> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="ProductName" HeaderText="Product Name" UniqueName="ProductName" 
                        HeaderStyle-Width="300" /> 
                    <telerik:GridBoundColumn DataField="UnitPrice" HeaderText="Unit Price" UniqueName="UnitPrice" 
                        HeaderStyle-Width="85" /> 
                </Columns> 
            </MasterTableView> 
        </telerik:RadGrid> 
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" 
            ProviderName="System.Data.SqlClient" SelectCommand="SELECT ProductName, UnitPrice FROM Products" /> 

The master table gets rendered in HTML as:
<table id="rg_ctl00" cellspacing="0" border="1" rules="all" style="border-collapse: collapse; table-layout: auto; empty-cells: show;"

However, this code does not work as expected (the only difference is that I provide the name of a skin)
        <telerik:RadGrid ID="rg" runat="server" DataSourceID="SqlDataSource1" AutoGenerateColumns="false" 
            Skin="Test" EnableEmbeddedSkins="false"
            <MasterTableView> 
                <Columns> 
                    <telerik:GridBoundColumn DataField="ProductName" HeaderText="Product Name" UniqueName="ProductName" 
                        HeaderStyle-Width="300" /> 
                    <telerik:GridBoundColumn DataField="UnitPrice" HeaderText="Unit Price" UniqueName="UnitPrice" 
                        HeaderStyle-Width="85" /> 
                </Columns> 
            </MasterTableView> 
        </telerik:RadGrid> 
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" 
            ProviderName="System.Data.SqlClient" SelectCommand="SELECT ProductName, UnitPrice FROM Products" /> 

This time, the master table gets rendered in HTML as:
<table id="rg_ctl00" class="MasterTable_Test" cellspacing="0" border="0" style="width: 100%; border-collapse: collapse; table-layout: auto; empty-cells: show;"

Notice how the rendered HTML includes "width: 100%" in the style tag.  This forces the grid to take up the entire width of the page (or container) instead of only as much as is needed, like in the first example.  How can I force the master table to render without this style tag when I am using my own custom skin?

Thanks for your help.


Dimo
Telerik team
 answered on 25 Jun 2009
1 answer
116 views
I would like to make an user control (or better a server control) from a Rad Dock in order to plug it in a RadDockZone.
What is the procedure to do this or where can I find documentation?
Thanks for your help

Perhaps I need to precise my goal. I would like to know the best way to inherit of a RadDock in order to add features to them. How to achieve this ? I can't find documentation about that.
Thanks
Pero
Telerik team
 answered on 25 Jun 2009
1 answer
135 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
178 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
146 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
138 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
96 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?