Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
128 views
Hi

Is there a way to pre select a node on databind?

ie: the page will have a querystring of the fieldid/value that needs to be selected.

On page load and a querystring is detected, I want the RadTreeView to have that node item preselected. It could be a third level item too...
Simon
Telerik team
 answered on 04 Aug 2008
1 answer
133 views
Hi,
I have a Radsplitter in a master page.
I have two Radpanes and Radsplitbar within Radsplitter.
I also have a RadslidingZone and slidingpane within one of the Radpane.
Since this master page is used across all pages, I want this slidingzone to be docked and used across all pages. how do u go about that?

Do you have samples for this?
Svetlina Anati
Telerik team
 answered on 04 Aug 2008
3 answers
119 views
How do I dock the sliding pane and retain its state in master page?
i have a radspliiter-radpane-radslidingzone and radpane.
i want to dock the sliding zone and pane within that.
all these are in master pages..how do i dock the slidingzone and pane beneath it.    
Svetlina Anati
Telerik team
 answered on 04 Aug 2008
1 answer
126 views
I have a menu that I have setup to enable dragging of elements.  It all works fine until I open my menu.  If I open the menu, which is setup as click to open and then try to drag a node in my treeview I get the following error.
Sys.WebForms.PageRequestManagerServerErrorException: Conversion from string "null" to type 'Integer' is not valid.
Veselin Vasilev
Telerik team
 answered on 04 Aug 2008
8 answers
832 views
This is more a feature request than an issue...

Is it possible to introduce a MaxLength property to limit the number of characters that is permissible in the RadEditor?
Hessner
Top achievements
Rank 2
 answered on 04 Aug 2008
1 answer
96 views
Hello Support team,

I am using RadTimePicker in a grid.  To reduce the resultant page size i used SharedTimeVeiw property.  However, this does not share the javascript that is written by the control.  There are as many javascript blocks in my resultant page as the number of RadTimePicker controls rendered in the grid.  Because of this I still have a very bulky page which takes long time to render.  Please show me way to prevent this javascript from getting pumped in my page.

Thank you.
Dimo
Telerik team
 answered on 04 Aug 2008
1 answer
138 views
I have a RadGrid that I am converting from using standard SQL datasources to using LINQDatasources.  This is a grid that has a two level hyerarchy with a mastertableview and a detailtableview which are defined as follows:

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"   
        AllowSorting="True" DataSourceID="FormulationDS"   
        GridLines="None" ShowGroupPanel="True"   
        AllowAutomaticInserts="True" AllowAutomaticUpdates="True"   
        EnableLinqExpressions="true">  
          
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="FormNomId"   
           CommandItemDisplay="Top" DataSourceID="FormulationDS">  
  ..  
  ..   
  ..  
<DetailTables> 
                <telerik:GridTableView runat="server" CommandItemDisplay="Top"   
                    DataSourceID="FormBatchDS" AutoGenerateColumns="False"   
                    DataKeyNames="BatchId" AllowAutomaticInserts="true">  
                      
                    <ParentTableRelation> 
                        <telerik:GridRelationFields   
                            DetailKeyField="FormNomId"   
                            MasterKeyField="FormNomId" /> 
                    </ParentTableRelation> 
..  
..  
.. 
When I was using the SQL datasource automatic Inserts into the DetailTable (FormBatchDS) worked fine.  Now that I am using a LINQ datasource the parents MasterKeyField (FormNomId) is not getting passed to the DetailTable properly.  From what I see in the debugger (by putting a break point in the generated LINQ insert handler) FormNomId is being passed in as 0 when it should be some non-zero number. 

Is there some way to hook the grids insert command to set the proper value for that field before the insert is passed to the LINQ?  I figured out how to use the "ItemCommand" method to capture the "PerformInsertCommand" event and then read the parent records MasterKey value:

_formNomId = (int)(parentItem.OwnerTableView.DataKeyValues[parentItem.ItemIndex["FormNomId"]); 

which gets me the correct MasterKey, but I have not figured out how to update the data being submitted for insert so that the proper value is set when the data is passed to LINQ for the actual DB update.

By the way, if i make the FormNomId field visible and editable in the DetailTableView grid I can manually populate the field the the Insert works just find.  Make it read-only and/or not visible and the Insert fails.

Thanks,
Stephen
Yavor
Telerik team
 answered on 04 Aug 2008
1 answer
93 views
Hi,

RAD Upload Control is not opening File Browser window if control is placed in Div tag with style "Position:Relative". I am currently using RAD Controls for ASP.NET AJAX v -->2008.2.723.35.

In old version 2008.01.0619.35 it used to work fine even with position set as relative.

Need Help,

regards,

Parimal



<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<

html xmlns="http://www.w3.org/1999/xhtml" >

<

head runat="server">

<title>Untitled Page</title>

</

head>

<

body>

<form id="form1" runat="server">

<div>

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<div style="MARGIN-LEFT: auto; WIDTH: 934px; MARGIN-RIGHT: auto; TOP:0px">

<telerik:RadUpload ID="RadUpload1" runat="server">

</telerik:RadUpload></div>

</div>

</form>

</

body>

</

html>

Veselin Vasilev
Telerik team
 answered on 04 Aug 2008
1 answer
208 views

Hi,

I'm trying to create a dynamic tabstrip where the user can add./delete tabs at runtime. For adding and deleting I found some javascript code in the online demo's that works fine.

Now I just wants to know if it's possible to add an imageButton (close button) to the dynamically created tab (also in javascript).

Has anyone any idea?

This is my code at this moment

var tabStrip = $find("<%= rtsTabs.ClientID %>");
tabStrip.trackChanges();
var tab = tabStrip.findTabByValue(tabText);
var text = document.getElementById("PropertyTabsControl_rtsTabs_i" + index + "_txtNewTextBox").value;
if (text == "")
{
    text = "new tab";
}
tab.set_text(text);
tabStrip.commitChanges();

 var multiPage = $find('<%= multiPage.ClientID %>');
multiPage.trackChanges();
var pageView = new Telerik.Web.UI.RadPageView();
multiPage.get_pageViews().add(pageView);
pageView.get_element().id = ("PageView" + multiPage.get_pageViews().get_count());
pageView.set_selected(true);
multiPage.commitChanges();

 Now I just want to add some javascript code for adding a imagebutton on the tab.

Thanks

Bert

Bert
Top achievements
Rank 1
 answered on 04 Aug 2008
5 answers
157 views
Hello

I used a grid n filter.Filtering is performed on already bounded grid.The grid became too slow when the records are more than 1000.
But i need to bind the grid only on the basis of filtering expression.In short,i need dynamic binding of Grid on the basis of the given filter expression.

Any help
Thanks..
Prangadj
Top achievements
Rank 1
 answered on 04 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?