Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
81 views
I know the template is available
Yana
Telerik team
 answered on 25 Mar 2010
8 answers
226 views
Hi,
    I am having the Grid which has number of NestedGrid's. Each Nested grid has its own export button. When i tried to export the data of one of the nested grid. I am getting the following error. I cannot point out the following error.


The '*' character, hexadecimal value 0x2A, cannot be included in a name.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Xml.XmlException: The '*' character, hexadecimal value 0x2A, cannot be included in a name.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[XmlException: The '*' character, hexadecimal value 0x2A, cannot be included in a name.]
   System.Xml.ValidateNames.ThrowInvalidName(String s, Int32 offsetStartChar, Int32 offsetBadChar) +255
   System.Xml.ValidateNames.ParseQNameThrow(String s, String& prefix, String& localName) +49
   System.Xml.Xsl.Runtime.XmlQueryRuntime.ParseTagName(String tagName, Int32 idxPrefixMappings, String& prefix, String& localName, String& ns) +21
   System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartComputed(XPathNodeType nodeType, String tagName, Int32 prefixMappingsIndex) +50
   System.Xml.Xsl.Runtime.XmlQueryOutput.WriteStartAttributeComputed(String tagName, Int32 prefixMappingsIndex) +14
   <xsl:template name="process-style">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current, IList`1 style) +1709
   <xsl:template match="html:div">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +566
   <xsl:template name="process-table-cell">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +6251
   <xsl:template match="html:td">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +114
   <xsl:template name="process-common-attributes-and-children">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +122
   <xsl:template match="html:tr">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +106
   <xsl:template name="process-common-attributes-and-children">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +122
   <xsl:template match="html:thead">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +114
   <xsl:template name="process-table">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +6994
   <xsl:template match="html:table">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +125
   <xsl:template match="html:body">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +2675
   <xsl:template match="html:html">(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator {urn:schemas-microsoft-com:xslt-debug}current) +186
   <xsl:apply-templates>(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime, XPathNavigator ) +12113
   Root(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) +91
   Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) +28
   System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlSequenceWriter results) +88
   System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) +121
   System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) +47
   System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, TextWriter results) +46
   System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results) +52
   Telerik.Web.UI.Grid.Export.TableViewExporter.PdfExportRenderForm(HtmlTextWriter nullWriter, Control form) +1678
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +8673113
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   Telerik.Web.UI.Grid.Export.TableViewExporter.PdfExportRenderPage(HtmlTextWriter nullWriter, Control page) +161
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +825
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +256
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266


-Thanks
Bruno
Top achievements
Rank 2
 answered on 25 Mar 2010
3 answers
126 views
I could use a Telerik ASP.NET AJAX control that encapsulates functionality as described in Using ASP.NET to Prompt a User to Save When Leaving a Page.

The idea is to display a modal RADWindow when the user is about to navigate away from a page that's "dirty" (has unsaved data). It would be nice to have a mechanism that tracks the "dirty" status automatically. Most approaches seem to require handling the tracking manually which would be a pain on a busy page.

Ken
Georgi Tunev
Telerik team
 answered on 25 Mar 2010
1 answer
111 views
I have a very long list of XAxis items dynamically added to the chart at run time.  I am unable to find the correct setting to allow the chart to vertically resize to fit them all.  Please help.
private void UpdateChrtZipCodes(DataSet ds)

 

{

    chrtZipCode.Legend.Visible =

false;

 

     chrtZipCode.PlotArea.XAxis.Clear();

     

EmptySeriesMessage message = chrtZipCode.PlotArea.EmptySeriesMessage;

 

     message.TextBlock.Text =

"No Data Available.";

 

 

 

//if (ds.Tables[0].Rows.Count > 20)

 

 

// chrtZipCode.Height = (ds.Tables[0].Rows.Count * 20);  tried this and it made it too long

    

chrtZipCode.AutoLayout = true;

 

    chrtZipCode.PlotArea.XAxis.AutoScale =

false;

 

 

 

 

 

foreach (DataRow dbRow in ds.Tables[0].Rows)

{

    chrtZipCode.PlotArea.XAxis.AddItem(

new ChartAxisItem(dbRow["ZipCode"].ToString()));

 

 

 }

chrtZipCode.PlotArea.XAxis.LayoutMode =

ChartAxisLayoutMode.Between;

 

 

 

// Gets the one and the only series in the chart.

 

 

 

ChartSeries s0 = chrtZipCode.Series.GetSeries(0);

 

 

 

// If it doesn't exist - create and set it.

 

 

 

if (s0 == null)

 

 

 {

    s0 = chrtZipCode.CreateSeries(

string.Empty, Color.Empty, Color.Empty, ChartSeriesType.Bar);

 

 

}

s0.Type =

ChartSeriesType.Bar;

 

 

 s0.Appearance.ShowLabels =

true;

 

 

 s0.DefaultLabelValue =

"#Y";

 

 

 s0.DataYColumn =

"TheCount";

 

 

 s0.Appearance.LabelAppearance.FillStyle.MainColor =

Color.White;

 

 

 s0.Appearance.LabelAppearance.Border.Color =

Color.Black;

 

 

 s0.Appearance.TextAppearance.TextProperties.Color =

Color.Black;

 

 

 

// Clear series items.

 

s0.Clear();

 

 

// Set new items for the series.

 

foreach (DataRow dbRow in ds.Tables[0].Rows)

 

 

 {

     

ChartSeriesItem seriesItem = new ChartSeriesItem();

 

     seriesItem.YValue =

Convert.ToDouble(dbRow["TheCount"]);

 

     seriesItem.Appearance.Border.Color =

Color.Black;

 

     s0.Items.Add(seriesItem);

 

}

 

}

 

 

Ves
Telerik team
 answered on 25 Mar 2010
2 answers
180 views
 
Hi,

I had to add a tool bar to the website so what i did was have a toolbar user control added the required toolbar with its items and added this user control to the master page.    Now i want to enable or diable certain items/toolbar buttons in the toolbar depending on the content page I am on
is it possible to do so??

Thanks,
Harisha
Rishi
Top achievements
Rank 1
 answered on 25 Mar 2010
2 answers
100 views
Dear Sir

I am working on Scheduler Control.
I want, when i click on RadSchedulerContextMenu Item "New Appointment"  then call my customize window.  not your advance form
How can i achieve it. please send me solution.

Thanks
Chandan
Chandan Kumar
Top achievements
Rank 1
 answered on 25 Mar 2010
5 answers
134 views
Greetings,

I'm trying to follow the demo at: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandcombo/defaultcs.aspx?product=grid where I wish to create google style filtering on my datagrid.  I can get the demo to run just fine, however with the datagrid I'm working with, I have various different types of filters for various columns.  I only wish for the google style filtering to appear on one column.

How can I modify the demo example to create only one column to have the google style filtering, and the other columns to have various other types of filters?

Thanks!
Nikolay Rusev
Telerik team
 answered on 25 Mar 2010
11 answers
202 views
Hi

I have a tree with context menus on it. When a user selects an option saying "Edit" , a modal window should popup showing another tree view or a list from which the user selects a node and hits a submit. I should be able to retain the selection made by the user on the second tree and use it to make some changes in the current tree. Is there a way of doing that

I am not sure on the following:
 1. Opening a modal window, this window would have stuff like text boxes, buttons and an other tree view inside of it.
 2. Retain the value of the node that the user selects on the tree view on the modal window.. 
3. Use the retained value to make some changes on the tree view on the parent page from which the modal window pops up.

Can you please send in some code samples or documentation that i can refer to.
Any help is greatly appreciated.

Thanks,

Rishi
Top achievements
Rank 1
 answered on 25 Mar 2010
4 answers
139 views
Hi,
I have a tree view and two panels on a page. I am doing ajax postbacks on node click. I would like only the top level nodes in the tree to update one panel and all other nodes to update the second panel. How can i achieve that?
Currently I am using RadAjaxManager to ajaxify the whole tree, so every node click updates both panels.

Thanks,
 
Tamir
Yana
Telerik team
 answered on 25 Mar 2010
1 answer
148 views
Hi,

Is it possible to set an item in a listbox to invisible?
In the client-side API i can find method get_isVisible and ensureVisible but there's no method for setting visibility of an item.

Kind regards,
Roel
Yana
Telerik team
 answered on 25 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?