Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
231 views
I have setup a RadGrid and configured the EditFormType to WebUserControl, then I specified the user control that I want to use. I was wondering if there is a way to actually do the databinding inside the user control's .ascx file.

Here is what I have, that I took from an example:
<asp:TextBox ID="txtFirstName" 
                      runat="server"
                      Text='<%# DataBinder.Eval( Container, "DataItem.FirstName") %>' >
</asp:TextBox>

This will set my text appropriately when I click edit in the grid, but when I update it nothing is actually being bound because I haven't added any C# for it.

I want to know, if there is any way to do something like this (which I did using the FormTemplate EditFormSetting, and was able to bind the data without writing any extra code):
<asp:TextBox ID="txtFirstName" 
                      runat="server" 
                      Text='<%# Bind( "FirstName") %>'  >
</asp:TextBox>

So I can avoid writing the bind code in C# like the example I looked at.

Jamie
Top achievements
Rank 1
 answered on 30 Aug 2010
5 answers
138 views
Hi telerik team

I am stuck in a weird problem, I used radlistbox in Advanced edit/insert template (Advanced Edit/Insert template) but whenever popup opens through the javascript code, radlistbox is not visible but the functionality works fine. It may be due to paint() or print() functionality of Listbox.

I used the same javascript function "function schedulerFormCreated(scheduler, eventArgs)" which you used in your example.

I also tried to reprint the listbox on dummy button's client click on advanced form but it doesn't work. Please help to sort out this problem.

Regards
Manmeet Singh
Veronica
Telerik team
 answered on 30 Aug 2010
1 answer
159 views
My Application requires a grid of checkboxes that scrolls both vertically and horizontally.   This works fine in IE, but in FIrefox, the horizontal is missing.  Here are the setting I'm using:

grdDateVsFields.ClientSettings.Scrolling.UseStaticHeaders = true;
grdDateVsFields.ClientSettings.Scrolling.AllowScroll = true;
grdDateVsFields.ClientSettings.Scrolling.SaveScrollPosition = true;
grdDateVsFields.ClientSettings.Scrolling.FrozenColumnsCount = 1;
grdDateVsFields.ClientSettings.Scrolling.ScrollBarWidth = 550;

Thanks in advance for your help.

Dimo
Telerik team
 answered on 30 Aug 2010
1 answer
95 views
Hi,
 i am using Rad Spell in my application. when i spell checking with the Rad spell i am getting the following error as:
'Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.'

but in the exception it was written as 
 Exception of type 'System.OutOfMemoryException' was thrown.

steps to reproduce:
1) take one textarea enter a data without any spaces i.e., i had given a word which contain around 50000 char`s(without having any spaces)  then click on spelling then you will get the above error message(if you don`t get the error then increase the no.of characters in the given word, you repeat this process until you get this error message), screen shot also i am attaching please look into it. how can i fix this issue. but that much big word won`t exist i agree.but issue is logged on it. so, i have to fix it. moreover you should not throw that kind of error messages to the end user.
so, how can we fix the above issue.

thanks,
BVSRao.

Lini
Telerik team
 answered on 30 Aug 2010
1 answer
77 views
when i open the table wizard using https url, in the CSS Class Layout drop down I dont get classes that i have mentioned in the "TableLayoutCssFile" property of config file. Instead of it I get all the class from the css file which I have mentioned in "cssFiles" item property.

But every thing works perfect when i open the editor on the page via http.
 
Let me know if you need more info. I would glad to send you the screen shots if you want.

-Abbas
Rumen
Telerik team
 answered on 30 Aug 2010
2 answers
131 views

I am trying to make a dashboard for charts, and when one double clicks on a single radDock item it will undock and take up the whole screen.  When they double click on it again, it will go back to its original size and go back to the dockZone.  The code seems to work, except that when it finishes the function after being double clicked it seems to jump back into the dockZone.  Can anyone point out what I am missing?  I couldn't find any documentation on it - and I am new to telerik, so I appreciate any help I can get.

There is nothing in the code behind that would cause it to revert.

thanks in advance,
John

<%@ Page Language="c#" AutoEventWireup="true" Inherits="Telerik.Web.Examples.Dock.Default.DefaultCS"
    CodeFile="DefaultCS.aspx.cs" %>
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head id="Head1" runat="server">
</head>
<body class="BODY">
    <form id="Form1" method="post" runat="server">
    <script type="text/javascript">
      function OnClientInitialize(sender, args) {
          $addHandlers(sender._handle, { "dblclick": Undock }, sender);
      }
 
      function Undock() {
          this.undock();
          this.set_left(200);
          this.set_top(200);
          this.set_height(500);
          this.set_width(500);
          alert("everything is good at this point- click okay and it goes back into the dock zone.");
      }  
    </script>  
     
    <telerik:RadScriptManager ID="ScriptManager" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadFormDecorator ID="RadFormDecorator1" DecoratedControls="All" runat="server" DecorationZoneID="ConfiguratorContainer1"/>
    <telerik:RadDockLayout runat="server" ID="RadDockLayout1">
        <table style="width:100%; height:100%">
            <tr>
                <td>
                    <telerik:RadDockZone ID="RadDockZone2" runat="server" Orientation="Vertical" Width="250px"
                        MinHeight="400px">
                        <telerik:RadDock ID="RadDock1" runat="server" Title="Double Click" Width="250px" EnableAnimation="true"
                            EnableRoundedCorners="true" Resizable="true" OnClientInitialize="OnClientInitialize" >
                            <ContentTemplate>
                                <iframe style="width:100%; height:100%" src="http://www.google.com"></iframe>
                            </ContentTemplate>
                        </telerik:RadDock>
                    </telerik:RadDockZone>
            </td>
        </tr>
    </table>
    </telerik:RadDockLayout>
 
    </form>
</body>
</html>
John
Top achievements
Rank 1
 answered on 30 Aug 2010
1 answer
151 views
Hi,

I have to many headers in my gird. SO i want to align Grid Headers in vertical alignment. Is there any way to align the grid headers in vertical. Please see the figure below. Thanks.
Dimo
Telerik team
 answered on 30 Aug 2010
9 answers
133 views
I've seen this error discussed several time in posts dating back many months.   http://www.telerik.com/community/forums/aspnet-ajax/docking/json-error-on-raddock.aspx

From what I saw the error was due to a a "non-docked" dock being updated via an AJAX request.  This is exactly what I am attempting to do.  I need to create a new Docks via ajax requests, give the user the ability to drag them around undocked, have additional ajax requests fire (such as via a timer control, or keypress event).

The official answer from telerik on the posts I saw was that this is a known issue and is it on your TODO list for the next release.  That was a few releases ago.

I would like to know if this is now supported, and if so is there an example somewhere that demonstrates this?

Thanks as always Telerik team!

Eric Smith



Pero
Telerik team
 answered on 30 Aug 2010
3 answers
141 views
I have multiple iPhone menus set up ( from this example ... http://demos.telerik.com/aspnet-ajax/menu/examples/appearance/iphonemenu/defaultcs.aspx ) and I'd like the menus to reset to the base level when I switch sections.  Is there any way to programmatically achieve this result?

Thanks in advance,

Lars Solberg
Kamen Bundev
Telerik team
 answered on 30 Aug 2010
3 answers
154 views
Hi,

I need to generate an email which includes, as well, a grid content.

I thought of:
After grid is available, to use one of the client-side events (e.g. grid is ready or whatever suitable) for being directed to an handler who will extract the grid contents in an HTML format and will send it via mail.

How this can be done?

Best,
Elad
Mira
Telerik team
 answered on 30 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?