Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
351 views
On my site I'm using the telerik radeditor to allow the user to create a message and then preview it in the browser by storing it to a database for a temporary amount of time. However when the form is submitted, the value from the editor which is stored in the database is the same value as when the page loads. Therefore the value being stored in the database is blank. Why is this?
Rumen
Telerik team
 answered on 14 May 2008
1 answer
141 views
We have a use case which is to take massive quantities of information by column. Your control (RadGrid) allows editing by rows and not by columns.  Do you plan to offer a data-entry column mode?  With a cursor deplacement by cell?
Like excel?  Have-you any suggestion on how to achieve this functionality.

Princy
Top achievements
Rank 2
 answered on 14 May 2008
4 answers
201 views
Hello,

I am writting an application that uses javascript to call an Ajax_Request through the ajax manager.  We used to do this by using -

window[

"<%= RadAjaxManager1.ClientID %>"].ajaxRequest(srcElement);

the srcElement being the argument we are sending (usually a string).

Unfortunately with the upgrade to the q1 08 this is no longer working and just coming back with a javascript error saying that RadAjaxManager1 is null or not an object.

i have also tried -

var AjaxMan = Document.GetElementByID("<%= RadAjaxManager1.ClientID %>");
AjaxMan.ajaxRequest(srcElement);

Is there a new way to call the ajax request in javascript??

Ian
Top achievements
Rank 1
 answered on 14 May 2008
1 answer
125 views
Hi,

Besides the data in the RadGrid, Is it possible to export some additional information also in the excel sheet? If yes, then how?

Sonia
Shinu
Top achievements
Rank 2
 answered on 14 May 2008
2 answers
183 views
I (like several other people in this forum) am trying to customize Scheduler using an ObjectDataSource. I read in another thread that Telerik has decided not to implement a Dataitem property because CustomAttributes makes it obsolete. First of all, I find this a bit confusing, as Dataitem is pretty standard, not only across .Net controls, but also across Telerik controls. The departure from a standard that most people pretty much expect is a strange choice, IMHO. In addition, CustomAttributes actually seems to create (a bit) more coding, as developers have to add the attributes to the customattributenames list, and then access the individual attributes. With Dataitem, I just have to cast the object, and the properties are already there ready to be accessed by name. Again, a bit of a strange (and from my perspective, disappointing) choice, in my opinion.

But to the point- The object list I am binding to has member objects whose properties I need to access on Appointment binding. For example, I have roughly the following:

>Event
>>Person
>>>First Name
>>>Last Name
>>Business
>>>Name
>>>Street

and so on. In order to access the Name property of Business, I assumed (and tried) using Business.Name as a custom attribute name. Then on AppointmentDataBound, I tried to access the value via e.Appointment.Attributes("Business.Name"). From what I have seen in the examples, it seems this ought to work, but for some reason for me it just doesn't. I know the objects exist and have data in their properties- I just can't access them.

I am probably missing something obvious here, but I am just not getting it. Any help is greatly appreciated.
Corey Alguire
Top achievements
Rank 1
 answered on 14 May 2008
7 answers
306 views
Hi. My English is not good, but I will try to explain

problem #1
I'm working with website. URL doesn't changes during nagivating (url is storing inside the session at server side as inner url; inner url changes using special postbacks). ViewState is disabled. Ajax is in use widely

I have a lookup (drop down list) with button 'Edit' near it. On pressing 'Edit' button system shows (using AJAX) Telerik Grid  with Lookup's values to edit. Grid is inside of UpdatePanel
Firstly I tryied to use edit column:

<telerik:GridEditCommandColumn UniqueName="EditCommandColumn"/>

System goes to Edit mode well - I getting required events at server side (OnEdit, OnItemCommand).

Problems occurs when I try to do actions while I'm in edit mode - press Update or Cancel buttons. System fires no Grid's events. Looks like databiding 'loosing' edit state data (without databind system will not show Grid at all)


problem #2
I tryied to move to edit mode manually

<

telerik:GridTemplateColumn UniqueName="EditColumn">
<ItemTemplate>
    <asp:LinkButton ID="lbEdit" CommandName="ComEdit" runat="server" Text="Edit" />
    <asp:LinkButton ID="lbUpdate" CommandName="ComUpdate" runat="server" Text="Update" Visible="false"/>
    <asp:LinkButton ID="lbCancel" CommandName="ComCancel" runat="server" Text="Cancel" Visible="false"/>
</ItemTemplate>
</
telerik:GridTemplateColumn>

At server side I'm handling visibilty of these link buttons as well as moving/exiting edit mode
Problem is in getting edited values. I trying to get updated values in 'OnItemCommand' event. 

Telerik.Web.UI.

GridDataItem dataItem = e.Item as Telerik.Web.UI.GridDataItem;

string s = dataItem["ID"].Text;

However all values are "&nbsp;". Without databinding no values at all

I checked Forms data, edited values are there
this.Page.Request.Form["ctl03$ctl03$ctl01$ctl00$ctl03$ctl1~0$rgEditGrid$ctl00$ctl04$ctl01"] - 'Name' column
this.Page.Request.Form["ctl03$ctl03$ctl01$ctl00$ctl03$ctl1~0$rgEditGrid$ctl00$ctl04$ctl02"] - 'Description' column
this.Page.Request.Form["ctl03_ctl03_ctl01_ctl00_ctl03_ctl1~0_rgEditGrid_ClientState"] - is empty

However Unique ID's are differs:
dataItem["Name"].UniqueID "ctl03$ctl03$ctl01$ctl00$ctl03$ctl1~0$rgEditGrid$ctl00$ctl04$ctl04" string
dataItem["Description"].UniqueID "ctl03$ctl03$ctl01$ctl00$ctl03$ctl1~0$rgEditGrid$ctl00$ctl04$ctl05" string
dataItem["ID"].UniqueID "ctl03$ctl03$ctl01$ctl00$ctl03$ctl1~0$rgEditGrid$ctl00$ctl04$ctl03" string


So I have only 2 ways for now (I will try to do them in nearest time).
1) Create EditTemplate for Name and Description, with named controls. And try to search them directrly for values (I not sure they are exists there...)
2) Manually get data from Page.Request.Form data... Yes, thats not good

Do you have some comments/recomedations about these problems?
Telerik Grid is extremely powerful control, but it still unripe is some 'special' situations
Sergey
Top achievements
Rank 1
 answered on 14 May 2008
1 answer
161 views
Hello,

I need to pass a query string to a rad window and then open it.

I have 1 button that, when clicked, it creates and sets the correct navigateUrl for the radwindow but I then want the window to open - so the user only has to click 1 button - I could have 2 buttons - 1 to generate the correct navigateurl and then get the user to click a second button but that's not really very good.

I need a way of setting the querystring values on the server and then invoking the window to open - all in 1 hit.

Is this possible?

Thanks.
Georgi Tunev
Telerik team
 answered on 14 May 2008
4 answers
200 views
hi,

I generate chart dynamically & after chart generate I want to Print that chart ..
so any body tell me how to Print chart ???
shah
Top achievements
Rank 1
 answered on 14 May 2008
4 answers
311 views
Hi Everybody,

I had tried to migrate my web application on vs2008 and I have a problem with prometheus control.
My master contain :
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Callisto.master.cs" Inherits="Callisto_Callisto" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register Assembly="RadPanelbar.Net2" Namespace="Telerik.WebControls" TagPrefix="radP" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register TagPrefix="radtlb" Namespace="Telerik.WebControls" Assembly="RadToolbar.NET2" %>
<%@ Register Assembly="MTSASPFramework" Namespace="MTS.ASPFramework" TagPrefix="cc1" %>
<!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 id="Head2" runat="server">
    <title>Callisto</title>
    <link href="Callisto.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="wrapper">
        <form id="MainForm" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="MainMasterUpdCalisto" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <telerik:RadWindowManager ID="MainMasterPageWindowManager" runat="server">
                </telerik:RadWindowManager>
            <ContentTemplate>
...

If I let the RadWindowManager, I obtain this error message :

The control with ID 'MainMasterPageWindowManager' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

InvalidOperationException: The control with ID 'MainMasterPageWindowManager' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.]
   Telerik.Web.UI.ScriptRegistrar.GetScriptManager(Control control) +158
   Telerik.Web.UI.RadWebControl.RegisterScriptControl() +16
   Telerik.Web.UI.RadWindowManager.OnPreRender(EventArgs e) +632
   System.Web.UI.Control.PreRenderRecursiveInternal() +86
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Control.PreRenderRecursiveInternal() +170
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041

If I delete the RadWindowManager, it's ok and my page work fine (with radtoolbar and radpanelbar). I have the same problem with a page contain radscheduler.

My Telerik Prometheus version is 2007.2.1107.0

Anybody know if it's an incompatibily, and if it's yes, when Telerik will make a new version ?

Thanks,
Bilou
vinit
Top achievements
Rank 1
 answered on 14 May 2008
3 answers
134 views
I have an Ajax call fired on selecting a value in a ComboBox. During the Ajax call (which lasts for a few seconds), if I try selecting a value in another ComboBox (non-ajax), the latter ComboBox hangs after the completion of the ajax call. Why is this so?
Nikolay
Telerik team
 answered on 14 May 2008
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?