Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
124 views
I have a RadGrid where one of the columns binds to a date/time value.  I use a GirdDataBound column and it binds correctly on the server.  Using the same source for the data, this fails when I try to bind on the client.  It shows the first record, then just stops. The lines that follow in the Javascript function do not execute.

I removed the DataFormatString and it worked. 

To work around this, I changed the column to a string and formatted it before sending it out to be bound.

I know I'll trip on this again some day (probably soon), so I'd like to get a resolution.

Thanks.
Tsvetina
Telerik team
 answered on 07 Mar 2011
3 answers
156 views
I am using CustomProvider to show files from a shared network drive in a web application hosted on the intranet. How can I allow users to modify files (mostly text files).
Thanks,
Dobromir
Telerik team
 answered on 07 Mar 2011
2 answers
136 views
I am trying to implement sample for binding xmlprovider to Radscheduler.
But I am getting the following error .

Server Error in '/' Application.
--------------------------------------------------------------------------------
 
The given key was not present in the dictionary.
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.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
 
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:
 
 
[KeyNotFoundException: The given key was not present in the dictionary.]
   System.Collections.Generic.Dictionary`2.get_Item(TKey key) +9627953
   Telerik.Web.UI.Scheduling.ResourceConverter.Serialize(Object obj, JavaScriptSerializer serializer) +180
   System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +85
   System.Web.Script.Serialization.JavaScriptSerializer.SerializeEnumerable(IEnumerable enumerable, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +126
   System.Web.Script.Serialization.JavaScriptSerializer.SerializeValueInternal(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +1311
   System.Web.Script.Serialization.JavaScriptSerializer.SerializeValue(Object o, StringBuilder sb, Int32 depth, Hashtable objectsInUse, SerializationFormat serializationFormat) +194
   System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, StringBuilder output, SerializationFormat serializationFormat) +26
   System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj, SerializationFormat serializationFormat) +74
   System.Web.Script.Serialization.JavaScriptSerializer.Serialize(Object obj) +6
   Telerik.Web.UI.RadScheduler.DescribeResources(IScriptDescriptor descriptor, JavaScriptSerializer serializer) +204
   Telerik.Web.UI.RadScheduler.DescribeComponent(IScriptDescriptor descriptor) +972
   Telerik.Web.UI.RadDataBoundControl.Telerik.Web.IControl.DescribeComponent(IScriptDescriptor descriptor) +39
   Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(Control control) +185
   Telerik.Web.UI.ScriptRegistrar.GetScriptDescriptors(WebControl control) +31
   Telerik.Web.UI.RadDataBoundControl.GetScriptDescriptors() +31
   Telerik.Web.UI.RadDataBoundControl.System.Web.UI.IScriptControl.GetScriptDescriptors() +33
   System.Web.UI.ScriptControlManager.RegisterScriptDescriptors(IScriptControl scriptControl) +128
   System.Web.UI.ScriptManager.RegisterScriptDescriptors(IScriptControl scriptControl) +49
   Telerik.Web.UI.RadDataBoundControl.RegisterScriptDescriptors() +66
   Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer) +120
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +173
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +31
   System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +53
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   System.Web.UI.Control.Render(HtmlTextWriter writer) +10
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +208
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +8
   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) +100
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3060
 
  
 
 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

My code behind is :  public partial class WebForm1 : System.Web.UI.Page
    {
        protected void Page_Init(object sender, EventArgs e)
        {
            RadScheduler1.Provider = new XmlSchedulerProvider(Server.MapPath("~/App_Data/Appointments.xml"), true);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
        }
    }
My aspx is

<telerik:RadScheduler runat="server" ID="RadScheduler1">
   </telerik:RadScheduler>

My appointments.xml file is in place in App_Data folder
Pls help
sagar
Top achievements
Rank 1
 answered on 07 Mar 2011
0 answers
61 views
Hi,
i am using radtabstrip in my application.
it works well in all the browsers, but when i checked my application in IE9, the page is in loading state.
this problem occurs when i navigate from one tab to the other and also when the selectedindex of the radcombo box is raised.

but when i add postback trigger to these control it works fine. 

need solution or ideas.......
sunil
Top achievements
Rank 1
 asked on 07 Mar 2011
3 answers
264 views
Hi, I'm studying for a Gant Chart.

In the documentation there are two project perfect for me.
Where I can find the source code of these example ?

P.S In the documentation there is a link error.

CONTROLS ==> RadChart ==> Understanding RadChart Types 

Error link DefaultType property or ChartSeries.Type
Yavor
Telerik team
 answered on 07 Mar 2011
2 answers
129 views
hi all
I have 3level RadGrid Hierarchy.
in btn_save that is in out side of my radgrid,I want reach all rows in Hierarchy radgrid(from first level to last level)
how can I do that?
samaneh
Top achievements
Rank 1
 answered on 07 Mar 2011
0 answers
76 views

Hi all,

 

Is there any way i can make all the nodes of the treeview checked  by default other than looping through the nodes and setting each node property

Checked=true;

I dont want to unnecassary loop through the node collection to set each node property.

There should be easy way of doing this by setting simple property for the entire treeview.

Oh also I dont have these properties

TriStateCheckBoxes="true" CheckChildNodes="true" as it is not supported in my version of rad treeview
Goutham
Top achievements
Rank 1
 asked on 07 Mar 2011
2 answers
120 views
Hello,

I am using the radgrid with a web user control for the modal popup. I switched the save buttons from regular asp.net buttons to the radbuttons and now my break points won't get hit and I believe the method isn't even being hit when the save button is pressed. My markup is below. The methods do have the handles statement. Is there something I am missing?

<telerik:RadButton ID="updateButton" runat="server" Text="Save" Width="75px" CommandName="Update"
    Visible='<%# Not (TypeOf DataItem Is Telerik.Web.UI.GridInsertionObject) %>'
    Skin="Outlook" CausesValidation="false">
</telerik:RadButton>
<telerik:RadButton ID="insertButton" runat="server" Text="Save" Width="75px" CommandName="PerformInsert"
    Visible='<%# (TypeOf DataItem Is Telerik.Web.UI.GridInsertionObject) %>' Skin="Outlook"
    CausesValidation="false">
</telerik:RadButton>

Thank you for your help.

P.S. I should also add that other break points work. The ItemCommand method breaks properly and all the others do too.

Ben
Benjamin
Top achievements
Rank 1
 answered on 07 Mar 2011
3 answers
92 views
Hi,

I have a radGrid and I want to implement the following functionality:

1. When a single left click is performed on a row a postback occurs so I can enable a toolbar.

2. When the toolbar button is clicked a radWindow is opened with some parameters relating to the currently selected row.

In the main this all works fine however there is an issue - after the first postback and the window is opened and then closed any subsequent postbacks reopens the previously closed window.

I've set DestroyOnClose to true for the window but this doesn't seem to make any difference.

Thanks in advance for any assistance,

Kirk
Phil
Top achievements
Rank 2
 answered on 06 Mar 2011
1 answer
67 views
Hi:

I am creating a filtered grid and I am concerned about performance.  My default query against the table has a top 200 attribute.  I went into 'Sql Query Profiler' and the filter did not appear.  So, are you only applying the filter against the output dataset?  In which case the top 200 will not work.  How can I have the actual db query limited?

Phil
Phil
Top achievements
Rank 2
 answered on 06 Mar 2011
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?