Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
60 views
Hi ,
  In my add form template , I m using Resource type to display the combo box in form template , in combo box i have to use Text with Icons  or Color then Name in Text Field, i want be same like Outlook Category and i m using Default Template in Scheduler .. Can you suggest me how to do this Concept.. Is it possible to assign category of appointment via the drop down menu in the Add appointment dialog?

I need Same Function  From this link http://www.telerik.com/help/wpf/radscheduler-features-categories.html but its should in WPF. I need in ASP.NET Ajax
Plamen
Telerik team
 answered on 06 Jul 2011
0 answers
69 views
How to bind multiple record in one label box ,



Thanks,
Mohamed.
mohamed
Top achievements
Rank 1
 asked on 06 Jul 2011
2 answers
88 views
Hi,
I have a grid that among the columns has 2 template columns that have editors present.  One of them selects whether or not the row is relevant and the other allows the entry of some text.  

This all works fine on the client but once the form comes back to the server I only see the original values that the controls in the 2 columns were set to - not any changed values.

The columns are as below (they get setup with the correct values via the ItemDataBound event):

<telerik:GridTemplateColumn DataField="Selected" HeaderText="Use?" UniqueName="uxSelected">
   <ItemTemplate>
      <asp:CheckBox ID="uxSelectedCheckbox" runat="server" Enabled="true" />
   </ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="SackColourRcGcBc" HeaderText="Custom Colour" UniqueName="uxSackColourRcGcBc">
   <ItemTemplate>
      <telerik:RadTextBox ID="uxSackColourRcGcBcTextbox" runat="server" Width="80px" AutoPostBack="False"/>
   </ItemTemplate>
</telerik:GridTemplateColumn>


The code behind is as below:

Dim idString As String = ""
Dim colourString As String = ""
Try
    For Each item As GridDataItem In DirectCast(uxFormView.FindControl("uxRadGrid"), RadGrid).Items
        Dim SackTypeID As String = item.GetDataKeyValue("SackTypeID").ToString()
 
        If CType(item("uxSelected").FindControl("uxSelectedCheckbox"), System.Web.UI.WebControls.CheckBox).Checked Then
            idString += SackTypeID + "!"
            If ConvertRGBToHTMLColour(CType(item("uxSackColourRcGcBc").FindControl("uxSackColourRcGcBcTextbox"), RadTextBox).Text) <> "" Then
                colourString += CType(item("uxSackColourRcGcBc").FindControl("uxSackColourRcGcBcTextbox"), RadTextBox).Text
            End If
            colourString += "!"
        End If
    Next
Catch ex As Exception
End Try


Any suggestions on what I'm doing wrong or if it can't be done like this.  If not I suppose that I can knock up some client side javascript to handle it but would prefer not to.  I've seen other examples and they seem to indicate that this should work..

Best Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 06 Jul 2011
2 answers
69 views

We have a old application where it uses Telerik 2009 version where it contains a dll for each control such as Radwindow.
In 2009 version if we need to use Radwindow we register something like this

 

<%

@ Register Assembly="RadWindow.Net2" Namespace="Telerik.WebControls" TagPrefix="rad" %>

 

and use the same like

 

 

<

 

rad:RadWindowManager ID="RadWindowManager1" runat="server">

 

 

 


Now we have 2010 version where we have a license.  How to upgrade these files. If we just replace them with our new version will it work?
But in the new version we have only one dll but in the older version we have a single dll for each control.
Please help.

Georgi Tunev
Telerik team
 answered on 06 Jul 2011
3 answers
148 views
I've got a radgrid using a modal popup edit form to edit the records. I'd like to be able to link to this page, and be able to open a specific record in edit mode (perhaps passing the id for the record in the query string).

I've found other threads mentioning doing this for the add/insert scenario. For example: http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-open-popup-add-form-on-page-load.aspx

But I want to do this for an edit/update existing record scenario.

Thanks!
-Steve
Genti
Telerik team
 answered on 06 Jul 2011
3 answers
244 views
Hi ,
  In My Rad Scheduler i used Reminder , DataSubjectField, DataDescribtion Field , DataRecurrenceField , Up to here all are works Fine. Now i want to add the one new textbox For Location. How to add this text box with Defalut add form. I dont want to go with Advanced Insert Template , If i Use that Could i need to change All fields into custome mode.

Can you please Suggest me to need with Default Form Mode..
Veronica
Telerik team
 answered on 06 Jul 2011
1 answer
84 views
Hi there,

I have a page where i make some calls via javascript ajaxRequest (ex. <%= RadAjaxManager1.ClientID %>.ajaxRequest('Move'); )

I also have a URL rewrite module as a http module. Whenever something causes a post back, the rewrite module gets called : 

protected virtual void Rewriter_AuthorizeRequest(object sender, EventArgs e)
{
        HttpApplication app = (HttpApplication)sender;
 
        absolutePath =  app.Request.Url.AbsolutePath;
 
       ........
       ........
       ........

The absolute path always contains the called page.

Now the problem is that whenever I am calling the "ajaxRequest" through java (skipping the post back), the authorize request method in the rewrite module is called WITHOUT a page set (just the folder). This obviously gives a 404 and thus, the AjaxRequest method in the back-end is never called. 

Does anyone know why this is happening? Any work arounds?

Thanks In advance!
Maria Ilieva
Telerik team
 answered on 06 Jul 2011
3 answers
172 views
Hi,

I'm having an issue with ASP.NET AJAX Q1 2011.

The code is very simple: I want to add a client validation function to the button save dynamically. The code is put inside JQ block 

$(document).ready(function () {
// buttonSaveClientID is defined already
$find(buttonSaveClientID).add_clicking(validationFunction);
});

There are 2 buttons on my web form: Save & Reset (which just causes a postback). When I do postback several times, the fireBug shows that $find(buttonSaveClientID) is null.

It happens occasionally. Most time the code run ok. Sometime it failed.

Do you have any idea?

Moreover, I'm guessing that it may be caused by telerik script is not finished processing. So I do a hook:

for (var i = 0; i < 1000000; i++) {
if ($find(buttonSaveClientID))
break;
}
$find(buttonSaveClientID).add_clicking(validationFunction);

and it works. Do you know how to check if telerik script is finished processing instead of such type of work around?

Georgi Tunev
Telerik team
 answered on 06 Jul 2011
2 answers
182 views
Hello,

I have a radgrid with simple text columns and an email column (link) at the end. The with of the columns is autoset by radgrid but in the last column (email link) gets no with. how can i set the column-with so that it is also auto generated?
At the moment i can't see the email column in IE, because the width is not set.

best reagards

oli
Paul
Top achievements
Rank 1
 answered on 06 Jul 2011
1 answer
136 views
I have one RadComboBox on a page with Load On Demand enabled.  I have subscribed to the ItemsRequested server side event to handle the loading of the page.  Is the called back to the server for the ItemsRequested event an AJAX call - as from what I can see it is not doing an AJAX call.  This is what I have below:

//This is the AJAX Manager where DatabaseName is a RadComboBox.  I have also subscribed to ClientEvents for Request Start and ResponseEnd - BUT THESE NEVER GET CALLED WHEN THE ITEMREQUEST EVENT IS TRIGGERED?????

 

<telerik:RadAjaxManager ID="RadAjaxManager2" OnAjaxRequest="RadAjaxManager1_AjaxRequest" runat="server"

 

<AjaxSettings>

 

<telerik:AjaxSetting AjaxControlID="DatabaseName">

 

<UpdatedControls>

 

<telerik:AjaxUpdatedControl ControlID="DatabaseName" LoadingPanelID="RadAjaxLoadingPanel2" />

</UpdatedControls>

</telerik:AjaxSetting>

 

</AjaxSettings>

 

<ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />

 

</telerik:RadAjaxManager>

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Transparency="50" BackColor="Silver">

<div>

 

<img src="images/Loading.gif" alt="Loading..." />

</div>

</telerik:RadAjaxLoadingPanel>

 
//Here is my Rad Combo where I subscribe to the ItemsRequested event
<telerik:RadComboBox ID="DatabaseName" runat="server" Width="290px" Height="150px" ItemsPerRequest="10" 

EnableAutomaticLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true"

 

DataValueField="Name" DataTextField="Name" LoadingMessage="Loading..." ShowWhileLoading="true" AutoPostBack="true"

 

OnItemsRequested="DatabaseName_ItemsRequested"

>


So basically in summary whenever the ItemRequested event if fired - it correct does some type of postback (this is my question) to the corrrect function on the server.  But in my AjaxManager I subscribe to the client events RequestStart and ResponseEnd which are never called when the ItemsRequested event is triggered on the server.  So this makes it appear that I can not intercept the call back to the server using these client events - which makes me wonder what type of post back is being done? 

Any help would be greatly appreciated.
Dimitar Terziev
Telerik team
 answered on 06 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?