Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
124 views
Hi All, not sure this went through last time or not - sorry if the post is a duplicate.  I am binding to an XML datasource.  The source comes from the database, so it is not a static file.  I can bind just fine using code similar to below:

<telerik

 

:RadTreeView ID="rtvConflicts" runat="server"">

 

 

 

 

 

<DataBindings>

 

 

<telerik:RadTreeNodeBinding DataMember="nodeName" TextField="FirstName" Checkable="false" />
<telerik:RadTreeNodeBinding DataMember="parentNodeName" TextField="ID" Depth="0" Checkable="true" />

 

 

</DataBindings>

My problem is that I would like to bind multiple XML attributes to a single node.  I have searched and seen some similar examples with different types datasources - but nothing for XML.  I was hoping there was an easy solution. You will see above that my top level node (depth=0) shows just the ID.  The rest of the nodes show the first name.  I would like the rest of the nodes to show first AND last name....both which are attributes of the nodeName element in the XML datasource.

Can anyone guide me in the right direction?

I have already done something similar using NodeTemplate in conjuntion with <%# XPath("")%> on another page, but the problem is that the template does not seem to allow the top level nodes to be different than the next level down.  I may have missed something obvious, but my workaround on that page is very messy and I needed to include an attribute in the XML specifying what level the node was.  I hope there is an easier way to do this.

Thanks,
Rob

 

Rob Bright
Top achievements
Rank 1
 asked on 15 Jul 2009
1 answer
105 views
Hi

In the editor , there is a Inbuilt Print Option. when we print the data from editor , what is the default margin ( top, left right and bottom )  for Print. option ?

Please give me the solutions ASAP

Regards

rahul
Rumen
Telerik team
 answered on 15 Jul 2009
3 answers
161 views
I've got a radGrid in a splitter panel and associated with a LoadingPanel, and want the grid to fill the splitter panel.

Searching this forum has pointed me to the following article.

http://www.telerik.com/community/code-library/aspnet-ajax/ajax/how-to-set-100-height-and-random-styles-to-a-radajaxmanager-update-panel.aspx


Using the example at the above link, I've got things working - great!

However, just to be awkward I want to have a radMenu at the top of the splitter panel. When I add this, the radGrid scrolls up beyond the radMenu - presumably because the LoadingPanel is filling the splitter panel.

Is there a way to arrange things so that the LoadingPanel is constrained to be below the radMenu?

Thanks,

James
Dimo
Telerik team
 answered on 15 Jul 2009
2 answers
135 views
Summary
I feel like I'm hitting some upper limit of how many controls a tab page can contain.  When this limit is reached, the tab control (with 3 tabs) is not responding when the user selects to navigate to another tab.   The tabs just sit there like no one just selected them.  I am not getting any errors or indication that any processing is taking place.   
I am running with the latest release as well.

Here is what I have going on...
  • Popup Window with a Tab Control
  • Tab control with 3 tabs.
  • The 2nd Tab contains an asp:Table which I dynamically add rows to during the page_load event.
<telerik:RadPageView runat="server" ID="viewManualEntry">  
   <asp:Table ID="tblManualEntryReturnFields" runat="server" BorderWidth="0px"   Width="100%">  
   </asp:Table> 
</telerik:RadPageView> 

The dynamic table has 3 columns,
  • column 1: label control "row description"
  • column 2: input control (textbox, check box, drop down, etc)
  • column 3: radio list control (enable/disable row for editing)

Things have been great, but now I'm building some large table with 190 rows and the tab control begins to hang around 150 rows.  I am having difficulties pinning an exact number, at one point 180 was the breaking point but after an iis reset that number changed and I'm back to 150ish rows.

Test Cases
  • If I reduce the numbers of rows, the tabs can be selected and everything works.
  • If I move the Table off the RadPageView and just shove it below the tab control, the table renders and the tabs work.
  • Did disable the Form Decorator, which speed the page up but did not fix my tab selection issue.

 


Why I'm questioning the tab control
The fact that I can shove this large table off the tab page, has me asking if the tab page is my problem as it perhaps attempts to manage all the controls held within that dynamic table?


So any thoughts?  Thanks for the help.

Jeff
Top achievements
Rank 1
 answered on 15 Jul 2009
1 answer
192 views
Hi, I was wondering if the following is best practice. I have a textbox and next to the textbox I have a button. When I click the button I popup a radwindow which will return some values onClosing. This is all working fine. However I encounterd problems when I added multiple of these usercontrols to my page. On the page I added a RadWindowManager which is necessary for the Radwindow on the usercontrol. The problem is I have written javascript inside the usercontrol which handles the events for the window. This means I have the same piece of javascript rendered for each UserControl on the page. Well I sign the javascript functions with uniqueID's otherwise it is not possible the set or retrieve values. All eventhandling is executed clientside.

My main question is, is this good practice? Or does someone have a better solution? For example store the necessary JS-functions in an external file and reference this file on the page. Hope I made it clear what the problem is, a lot of scripts on the page.
Fiko
Telerik team
 answered on 15 Jul 2009
2 answers
114 views
HI

How would i share some column definitions between a master table view and a gridtableview which is part of the details table collection of a different grid?

I have been trying to do this using a skin file but I must be doing something wrong as it's not working (unless its not possible that is!)

thanks
Sebastian
Telerik team
 answered on 15 Jul 2009
6 answers
345 views
I am writing an application where it is important to have the datagrid update immediately on Insert/Update/Delete operations rather than wait for the server to respond. In particular:

- I would like to implement Insert/Update/Delete in-line without making a round trip to the server until the user chooses to submit (at which time the server side collection is refreshed). 'Cancel' button restores state.
- I would like client-side insert/update to trigger a call to a web service passing a JSON object to validate the data (displaying the canonical loading symbol in a datagrid column until validated; error, warning, or OK icon then displayed depending on result; Netflix-like hover popup describing error/warning) without affecting the ability for the user to make subsequent changes to the datagrid.

I've been trying to think of an elegant solution using JQuery and client side caching, but defer to those with far greater expertise than I possess.  Is this possible? Better solution? If so, is there example code that I haven't found while searching?

RadGrid Version: 2007.3 1425
.NET Version: 3.5

Thanks in advance,
David
Sebastian
Telerik team
 answered on 15 Jul 2009
1 answer
98 views
Hello,

I am trying to find a control that can use Binary Streams so that I may read and save into SQL.
I don't want to store these documents on a file system, but cached versions are acceptable.

Can the Telerik editor in some way allow me to achieve this?

Rumen
Telerik team
 answered on 15 Jul 2009
3 answers
69 views
I followed the tutorial on how to write a content filter (between Design & HTML) but there does not seem to be a way to apply one to the view mode?

I want to be able to apply some rules to the view, and then go back to my design retaining the original values
Rumen
Telerik team
 answered on 15 Jul 2009
2 answers
120 views
Hi,

I have a input type = button on a page with style display none, so I don't want to display it
but with FormDecorator I have a little piece of button ( the right hand) whose display.
I can't add visible=false on this button because I can't access it by javascript.
Is there a solution ?

Eric
Maveric
Top achievements
Rank 2
 answered on 15 Jul 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?