Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
111 views
The PopUp Edit Form window disappears when I try to insert or edit my information even with validation controls in the form. What's the best way to keep the PopUp Edit Form window visible until the information entered is valid? 


I tried this but the window still closed.
            if (e.Exception != null)
            {
                e.ExceptionHandled = true;
                SetMessage("Product cannot be inserted. Reason: " + e.Exception.Message);
            }
            else
            {
                SetMessage("New product is inserted!");
            }



Thx
Shinu
Top achievements
Rank 2
 answered on 20 Oct 2010
2 answers
85 views
Hi,

I have a radgird which allows the user to insert a new record using a form template. However, when the user enters the required information, then presses enter the insert command is not fired.

Is there any way to wire up the grid to force an insert when the user presses enter?

Thanks
James Hacking
Top achievements
Rank 1
 answered on 20 Oct 2010
6 answers
96 views
Hi all,

   I wonder if there's a fix with this issue. 

   After upgrading Telerik ASP.Net AJAX Q3 2009 from Q1 2009, there is an issue with RadDateInput with EmptyMessage attribute.  Here's the code snippet.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> 
<!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></title
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" /> 
</head> 
<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        <Scripts> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" /> 
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" /> 
        </Scripts> 
    </telerik:RadScriptManager> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
    </telerik:RadAjaxManager> 
    <div> 
<telerik:RadDateInput ID="RadDateInputDOB" runat="server" Skin="WebBlue"  
                Culture="en-US" MinDate="01/01/1900" MaxDate="12/31/2999" MaxLength="10" 
                DisplayDateFormat="MM/dd/yyyy" 
                EmptyMessage = "MM/DD/YYYY" 
                DateFormat="MM/dd/yyyy" Width="120px"
            </telerik:RadDateInput> 
            </div> 
    <asp:Button ID="Button1" runat="server" Text="Button" /> 
    </form> 
</body> 
</html> 
 

When the RadDateInput has empty value, it's the following bug.  Here's the step to reproduce.
  1. Leave RadDateInputDOB without value.
  2. Press Button1 and return to the same page.
  3. Wait the page is refreshed.  I notice RadDateInputDOB display changes from greyed to black, indicating there's value.
  4. Click RadDateInputDOB.  Notice the value becomes 0NaN/0NaN/0NaN.
  5. When RadDateInput is out of focus, the vlaue becomes 12/31/1998, not blank.

I can get rid of this issue by removing EmptyMessage attribute.  But I need to put the EmptyMessage value back eventually.

Thanks in advance.
Dimo
Telerik team
 answered on 20 Oct 2010
4 answers
84 views
Hi,

The following must be MinFontSize and MaxFontSize I think...
RadTagCloud Icon

RadTagCloud

What’s Fixed

  • Fixed: A problem with MinColor and MaxColor properties in TagCloud
Regards,
Marc
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 20 Oct 2010
1 answer
72 views
I have a imagebutton that has a tooltip attached to it. I want the tooltip to show when the imagebutton is pressed "Which it does" However I also have server side codebehind that needs to fire on the click event but the tooltip stops it from firing is there a way to make the radtooltip show and have the codebehind fire.
Thanks for any help on this
Cori
Top achievements
Rank 2
 answered on 20 Oct 2010
1 answer
40 views
Hi,

We are using the Rad Ajax Manager in the Master Page, Ajax Proxy in the Content Page and one More Ajax Proxy control in the User Control.  We the grid edit form, it reloads the screen each time.  You can check the screnario in the below application.didnt used the Session object to retrieve the data. When we open

http://test.aptisys.com/UOMSetup.aspx

Where as in your example demos of using the webuser control in the grid. It is quite faster in opening  the edit form and there is no reloading of the page. When we check with the firebug, we found that in your example demos the page is faster on opening the edit form not reloading the page. Is it because of the session object that was faster in your example? If we include the session for caching, does it takes large amount of data in the cache, does it causes any performance problems? Could you please send example program with RadAjax Manager in the master page, Ajax Proxy in the Content Page with the grid and one more ajax Proxy in the Web User control for the edit form with the same performance as your demo example as mentioned in the URL example? 

http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx

Thanks & Regards


Pavlina
Telerik team
 answered on 20 Oct 2010
1 answer
62 views
OK I know that you know that the docs need work.

But I don't know if you know which bits are wrong.

The code examples for the events Appointment_Insert, Appointment_Update and Appointment_Delete, but, oddly, not Appointment_CancellngEdit, all declare the method as private meaning it won't compile it the event is defined in the markup.

-- 
Stuart
Veronica
Telerik team
 answered on 20 Oct 2010
3 answers
61 views
hi,

we are getting some message while enabling the filter in radgrid
details are shown in attachment

Dimo
Telerik team
 answered on 20 Oct 2010
2 answers
91 views
I am using the Scheduler with the WebService for all the data binding. I have custom data provider that talks to the database and used into the contoller for the webservice. It works fine when it is used with the setting: ResourcePopulationMode="ClientSide". When I change it to ResourcePopulationMode="ServerSide", I get the error. The reason is that webservice is secured by forms authentication and I need to pass in the credentials before I make calls to the webservice. I tried to see if I can create and assign proxy myself with no success. Looks like it only takes the path to the webservice url. How would I solve this problem?

Thanks a lot...
T. Tsonev
Telerik team
 answered on 20 Oct 2010
1 answer
113 views

I discovered this problem today and believe it may be of benefit to the community...

I have a RadFileExplorer and have implemented my own FileBrowserContentProvider that bounces off our database.

Very often when I click on a folder the ajax loading doughnut appears and does not go away.  If I repeatedly click on another folder and then back to the original the doughnut will disappear and the directory listing will appear successfully.


The problem never occurs on a folder with no subfolders or files. But it does occur if the folder has a single subfolder or file.

When it stops working it is associated with an exception appearing in the Visual Studio output window....


A first chance exception of type 'System.Runtime.Serialization.SerializationException' occurred in WebDev.WebHost.dll

I enabled exception breaking on this exception and the stack trace showed....

 WebDev.WebHost.dll!Microsoft.VisualStudio.WebHost.Request.ReadEntityBody(byte[] buffer = {byte[8192]}, int size = 1957) + 0x57 bytes 
  System.Web.dll!System.Web.HttpRequest.GetEntireRawContent() + 0x2c7 bytes 
  System.Web.dll!System.Web.HttpRequest.FillInFormCollection() + 0x13f bytes 
  System.Web.dll!System.Web.HttpRequest.Form.get() + 0x45 bytes 
  System.Web.dll!System.Web.HttpRequest.this[string].get(string key = "HTTP_X_MICROSOFTAJAX") + 0x28 bytes 
  Telerik.Web.UI.dll!Telerik.Web.UI.RadCompression.IsAjaxRequest() + 0x3c bytes 
  Telerik.Web.UI.dll!Telerik.Web.UI.RadCompression.Compress(System.Web.HttpApplication application = {ASP.global_asax}) + 0x348 bytes 
  Telerik.Web.UI.dll!Telerik.Web.UI.RadCompression.PreRequestHandlerExecute(object sender = {ASP.global_asax}, System.EventArgs e = {System.EventArgs}) + 0x4d bytes 
  System.Web.dll!System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 0x45 bytes 
  System.Web.dll!System.Web.HttpApplication.ExecuteStep(System.Web.HttpApplication.IExecutionStep step = {System.Web.HttpApplication.SyncEventExecutionStep}, ref bool completedSynchronously = true) + 0x4c bytes 
  System.Web.dll!System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(System.Exception error) + 0x133 bytes 
  System.Web.dll!System.Web.HttpApplication.ResumeStepsFromThreadPoolThread(System.Exception error) + 0x25 bytes 
  System.Web.dll!System.Web.HttpApplication.AsyncEventExecutionStep.ResumeStepsWithAssert(System.Exception error) + 0x28 bytes 
  System.Web.dll!System.Web.HttpApplication.AsyncEventExecutionStep.OnAsyncEventCompletion(System.IAsyncResult ar) + 0x84 bytes 
  System.Web.dll!System.Web.HttpAsyncResult.Complete(bool synchronous, object result, System.Exception error, System.Web.RequestNotificationStatus status) + 0x3e bytes 
  System.Web.dll!System.Web.SessionState.SessionStateModule.PollLockedSessionCallback(object state) + 0x1af bytes 
  mscorlib.dll!System.Threading._TimerCallback.TimerCallback_Context(object state) + 0x2f bytes 
  mscorlib.dll!System.Threading.ExecutionContext.runTryCode(object userData) + 0x51 bytes 
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x67 bytes 
  mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x45 bytes 
  mscorlib.dll!System.Threading._TimerCallback.PerformTimerCallback(object state) + 0x6b bytes 
  [Appdomain Transition] 

I have discovered what it is though. It is unrelated to Telerik. I am running against ASP.NET development server and we have forms authentication.  Often we receive the exception...

Type 'Signmanager.Security.Security' in assembly 'Signmanager.Security.Bec, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.
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.

[SerializationException: Type 'Signmanager.Security.Security' in assembly 'Signmanager.Security.Bec, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable.]
   Microsoft.VisualStudio.WebHost.Server.GetProcessToken() +0
   Microsoft.VisualStudio.WebHost.Host.GetProcessToken() +87
   Microsoft.VisualStudio.WebHost.Request.GetUserToken() +35
   Microsoft.VisualStudio.WebHost.Request.GetServerVariable(String name) +202
   System.Web.HttpRequest.AddServerVariableToCollection(String name) +25
   System.Web.HttpRequest.FillInServerVariablesCollection() +188
   System.Web.HttpServerVarsCollection.Populate() +34
   System.Web.HttpServerVarsCollection.Get(String name) +8637927
   System.Collections.Specialized.NameValueCollection.get_Item(String name) +7
   System.Web.HttpRequest.get_Item(String key) +105
   System.Web.UI.Page.get_LastFocusedControl() +59
   System.Web.UI.Page.BeginFormRender(HtmlTextWriter writer, String formUniqueID) +8704633
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +54
   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
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
   System.Web.UI.Page.Render(HtmlTextWriter writer) +29
   Signmanager.Web.UI2.PageBase.Render(HtmlTextWriter writer) in C:\Fast Data\SMWeb20\Signmanager.Web.UI2\PageBase.cs:1507
   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) +699
   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
   Signmanager.Web.UI2.PageBase.Render(HtmlTextWriter writer) in C:\Fast Data\SMWeb20\Signmanager.Web.UI2\PageBase.cs:1542
   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

 
This is a well known short coming of ASP.NET development server running against forms authentication.


It appears that this same problem is responsible for the problems with RadFileExplorer.


When I turned off forms authentication RadFileExplorer started working perfectly.

Fiko
Telerik team
 answered on 20 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?