Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
37 views
Is it possible to protect/lock parts of the document in the content window? If yes, I'll appreciate an example.
Rumen
Telerik team
 answered on 19 Jun 2009
1 answer
116 views
How do we go about dragging image files (.png, .gif etc) from windows explorer and dropping them in the content window?
Rumen
Telerik team
 answered on 19 Jun 2009
1 answer
55 views
Can someone shed some light on this for me?

I've installed ASP.NET AJAX Q1 2009 and after done installing, my toolbox under RadControls for ASPNET AJAX Q1 2009 shows up empty. I'm using Version 2.0.50727 SP2 for Visual Studio 2005 Team Suite.

Please advice.
Daniel
Telerik team
 answered on 19 Jun 2009
3 answers
109 views
Hi,

I am currently reviewing the Telerik control to be used in one of our applications. I am mainly interested in the Sliding panels functionality.

As far as I have seen the demos of sliding panels in the website, I noticed that only one panel can be docked at a time.  But in our application there is requirement where we need to dock two panels at a time showing them one beside the other.

So is it possible to achieve this anyway?

Any information on this will be greatly appreciated.

Thanks,
Sandeep
Svetlina Anati
Telerik team
 answered on 19 Jun 2009
1 answer
112 views
Hi

By default editor has 3 modes - design, html and preview. How can i add my own mode ? Let assume i would like to create editor that allows to edit email content so i would need  "plain text" mode button somewhere between html and preview buttons. I can take care of handling additional data (plain text content) but i could not find informations how to "register" new mode (fe EditModes="Design,Plain" does not work because "Plain" mode is not defined etc)

regards,
Marcin
Rumen
Telerik team
 answered on 19 Jun 2009
1 answer
110 views

Hello Team,

I am facing an issue in the Rad Pane.

In my application i have two Rad Pane - Left Pane and the middle pane. Whn i load the page the left pane is collasped and middle pane is displaying. I am keeping some static controls in my left pane. When i click on the left pane title on the left side of the Rad Splitter left Pan with the controls will display. When i done any events on the left pane without clicking on the pane i want to get the focus back to the middle pane.

Right now middle pane is loading and after few second the control will go to the left pane. How i can able to get the focus on the middle pane after done any operations in the left pane.


Thanks & Regards,
Sushanth Mathew  
Svetlina Anati
Telerik team
 answered on 19 Jun 2009
6 answers
297 views

I have tried mulitple ways to load the treeview and I cannot find one way that works.

 

For instance I have tried using this:

 

RadTreeView1.LoadXml(GetTransformedXmlDoc("TreeViewCombined2.xsl", args)); 

 


Where GetTransformedXmlDoc() returns a correct xml document as a string. All it does is give me XML errors and shows me a node that doesn't even exist in the xml string. This is what it tells me: "There is an error in XML document (1, 40)." When I check for the specific error message this is what I get: "<Nodes xmlns=''> was not expected."

Where that node comes from I have no idea. It's not in the xml I am looking at.



I have tried:
RadTreeView1.DataSource = GetTransformedXmlDoc("TreeViewCombined2.xsl", args);  
RadTreeView1.DataBind(); 

Where GetTransformedXmlDoc()  returns an XmlDataSource object. This sort of worked except I couldn't keep the root node from appearing in the treeview and it also screwed up the text properties of the nodes. Below is a sample xml doc in the exact same form as the one I am trying to load. I cannot set the DataTextField="Text" or the TextField="Text" because my root node doesn't contain that attribute. Is there a way around this?

<Nodes> 
  <TreeViewNode ID="1" Text="Node 1" /> 
  <TreeViewNode ID="2" Text="Node 2" /> 
  <TreeViewNode ID="3" Text="Node 3" /> 
  <TreeViewNode ID="4" Text="Node 4">  
    <TreeViewNode ID="5" Text="Node 5" /> 
  </TreeViewNode> 
  <TreeViewNode ID="6" Text="Node 6" /> 
</Nodes> 


I would appreciate any help as I have wasted the better part of 2 days trying to get this thing to load correctly.
Victor
Telerik team
 answered on 19 Jun 2009
8 answers
272 views
When i press Enter in Textbox txtHistory2 so update data
My mind is: I do not want to press enter in the textbox txtHistory2 the event update. I just want people to click on button Update to update data
<EditFormSettings EditFormType="Template"> 
                    <FormTemplate >                     
                        <table cellspacing="1" cellpadding="1" Width="100%" border="0"> 
                            <tr> 
                                <td> 
                                </td> 
                                <td> 
                                </td> 
                            </tr> 
                            <tr> 
                                <td width="100"> 
                                    Description</td> 
                                <td> 
                                    <asp:TextBox ID="txtHistory2" runat="server" Rows="10" SkinID="TextHistory" Text='<%#Bind("HistoryText")%>' 
                                        TextMode="MultiLine" ValidationGroup="Gro_History_GV" ></asp:TextBox><br /> 
                                    <asp:RegularExpressionValidator ID="txtConclusionValidator_GV" runat="server" ControlToValidate="txtHistory2" 
                                        Display="Dynamic" EnableClientScript="False" SetFocusOnError="True" Text="very long" 
                                        ValidationExpression="^[\s\S]{0,3500}$" ValidationGroup="Gro_History_GV"></asp:RegularExpressionValidator><br /> 
                                </td> 
                            </tr> 
                        </table> 
                        <table style="width: 100%"> 
                            <tr> 
                                <td align="right" colspan="2"> 
                                    <asp:Button ID="cmdUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' 
                                        runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' ValidationGroup="Gro_History_GV"> 
                                    </asp:Button>&nbsp; 
                                    <asp:Button ID="cmdClose" Text="Close" runat="server" CausesValidation="False" CommandName="Cancel"> 
                                    </asp:Button>                                     
                                </td> 
                            </tr> 
                        </table>                         
                    </FormTemplate>                     
                      <PopUpSettings Modal="True" Width="600px"   /> 
                </EditFormSettings> 

Muhammad Zaheeruddin
Top achievements
Rank 1
 answered on 19 Jun 2009
3 answers
218 views
Datum 2&nbsp;<asp:RequiredFieldValidator ID="rfv2" ControlToValidate="RadDatePicker2" runat="server" 
                 ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>   <br /> 
            <telerik:RadDatePicker ID="RadDatePicker2" runat="server" DateInput-InvalidStyle-BackColor="Red"   > 
                <DateInput runat="server" CausesValidation="True" > 
                <InvalidStyle BackColor="Red" /> 
                </DateInput> 
            </telerik:RadDatePicker> 
Hi,
I need RadDatePicker with RequiredFieldValidator. Submitting with no Date shows the errorMessage from RequiredFieldValidator. But I expected to get a red border for DateInput too (InvalidStyle ...). But nothing happens. Whats running wrong?

Heinz
Heinz
Top achievements
Rank 1
 answered on 19 Jun 2009
1 answer
156 views

Hello !

i've got a question about Telerik RadPanelBar control.

For example we've got a RadPanelBar control on form :

        <telerik:RadPanelBar ID="testPanelBar" runat="server">
       
</telerik:RadPanelBar>

and a button which adds a new item to this RadPanelBar at runtime:

        RadPanelItem newParentItem = new RadPanelItem();
       
RadPanelItem newChildItem = new RadPanelItem();
        newChildItem
.Controls.Add(new RadTextBox());
        newChildItem
.Text = "wazzap";
        newParentItem
.Items.Add(newChildItem);
        languagesPanelBar
.Items.Add(newParentItem);

when i click button, new RadPanelItem is added with all child controls(in this case it's RadTextBox in child item)

when button is clicked second time, second RadPanelItem is added with all controls, but this time RadTexBox control dissapeared from first RadPanelItem. 

And same when button is clicked for third time, new item added with all controls, but RadTextBox will dissapear from 1st and 2nd items.

am i doeing something wrong when dynamically adding items ?

Thank You !

Shinu
Top achievements
Rank 2
 answered on 19 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?