Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
151 views
hello Telerik Team,

While upgradation of Telerik radcontrols for ASP.NET ajax i reach one point where i seek your guidance. In some blogs i have read that the Telerik RadControl Upgrade Wizard simply replace the existing DLL files with the Upgraded DLL files. So my question is, does make any difference when i directly replaced the downloaded DLL files with the previous DLL files?
so if this is true that "Upgrade Wizard" simply replaces the older version DLL files with newer version DLL files then instead of using "Upgrade Wizard" can we manually replace the older DLL with newer DLL directly?

Apart from replacing the upgraded DLL files with the older DLL files, does Telerik upgrade wizard provides any additional advantages?

Thanks,
Ashish
Rumen
Telerik team
 answered on 03 Sep 2012
1 answer
114 views
Hi,
I currently open a page from another radwindow using the code...

Protected Sub RadGrid1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles RadGrid1.SelectedIndexChanged
    If RadGrid1.SelectedItems.Count > 0 Then
        For Each item As GridDataItem In RadGrid1.SelectedItems
            Dim strid As String
            strid = item("UniqueID").Text
            Session("Selected") = "Selected"
            Session("ID") = strid
 
            Dim newwindow As New RadWindow
            newwindow.NavigateUrl = "MessageForm1.aspx"
            RadWindow1.Windows.Add(newwindow)
            newwindow.Width = Unit.Pixel(600)
            newwindow.Height = Unit.Pixel(650)
        Next
    End If
End Sub

And everything opens fine, until I come to closing it, I know everything works because It works perfectly using "response.redirect"
When I close it using the following code...
Protected Sub btnSave_Click(sender As Object, e As System.EventArgs) Handles btnSave.Click
 
    Dim log As New dbMessageLog()
    log.ForID = Convert.ToInt32(ddlFor.SelectedValue)
    log.From = Convert.ToString(ddlFrom.SelectedValue)
    log.Customer = txtCustomer.Text
    log.Telephone = txtTelephone.Text
    log.Email = txtEmail.Text
    log.Urgent = Convert.ToInt32(chkUrgent.Checked)
    log.TakenByID = Convert.ToInt32(ddlTakenBy.SelectedValue)
    log.TakenOn = Convert.ToDateTime(DatePicker.SelectedDate)
    log.Actioned = 1
    log.StatusID = Convert.ToInt32(ddlStatusID.SelectedValue)
    log.Message = txtMessage.Text
    log.Subject = TextBox1.Text
 
    If lblMessageID.Text = zero Then
        log.Create(log)
    Else
        log.UniqueID = lblMessageID.Text
        log.Update(log)
    End If
    InjectScript.Text = "<script type='text/javascript'>CloseAndRebind();</" + "script>"
    Session("ID") = zero

On First Click...
It saves the data but doesn't close the window, and displays the old values
the screen flickers slightly as well
However
On a second click of the save button it works fine

It also does it when I click on the "x" at the top right of the page
so i guess it's something to do with the opening code?

Thanks in advance
Ryan
Marin Bratanov
Telerik team
 answered on 03 Sep 2012
3 answers
122 views
This is probably a simple answer, and I'm just not seeing it.
I'm using the Custom Advanced Form example, and what I would like to do is hide the Resource drop down list located within the user controls based on a value on my Scheduler page. For example, if lblOwner.text="N" on the scheduler page, then hide the resource drop down on the advanced form when editing or creating an appointment.

How would I go about accessing those controls?
Boyan Dimitrov
Telerik team
 answered on 03 Sep 2012
6 answers
259 views
Hey,

So - from what we've noticed, this small breaking change actually did quite a number on our site. We've had to implement a site wide control skin to set EnableSingleInputRendering=false for all applicable RadControls.

For one, we noticed that when EnableSingleInputRendering=true, which is the default now, that the final input dom element gets the style "color: transparent;" when the control is not in focus. Why is this?

Thanks,
Kori
Vasil
Telerik team
 answered on 03 Sep 2012
1 answer
179 views
I am trying to use the social share on a page, but the Captcha will not render for the "share via Email"
The site is using the state server "process" for session state and there is caching on the server. 

I have configured the web.conf but I'm not sure what else to try. Is there a way to turn it off and obviously stop its validation as well?

Many Thanks for any help.
Marin Bratanov
Telerik team
 answered on 03 Sep 2012
1 answer
106 views
Hi !!

I have a RadTreeview, in which I allow to move or copy nodes across the same treeview. The concept is on Node drop I return a jQuery dialog box that asks "What operation do you want to perform?" with link buttons Move, Copy or Cancel. On clicking move button I want to move the selected nodes with hierarchy below the destination node, On clicking copy button I want the selected nodes remains on their same position but a copy of them created below the destination node. So that I want the object of Source RadTreeNode(s), destination RadTreeNode and drop position. As I click the move or copy button, it make the page_load() event in which I lost that objects. Can any one have idea how to persists it? Awaiting for your valuable response.

Thanks,
Dev
Boyan Dimitrov
Telerik team
 answered on 03 Sep 2012
1 answer
93 views
Hello,
I have InsertExternalVideo in RadEditor. All of a sudden it stopped working. Now i get the error you see in the attachment.
Here is the code:
<telerik:RadEditor ID="RadEditor1" Runat="server" EditModes="Design" ExternalDialogsPath="~/Telerik/EditorDialogs/">
        <Tools>
        <telerik:EditorToolGroup>
        <telerik:EditorTool Name="Bold" />
        <telerik:EditorTool Name="Italic" />
        <telerik:EditorTool Name="Underline" />
        <telerik:EditorTool Name="Undo" />
        <telerik:EditorTool Name="Redo" />
        <telerik:EditorTool Name="InsertExternalVideo" Text="YouTube" />
        </telerik:EditorToolGroup>
        </Tools>
        </telerik:RadEditor>

The file ~/Telerik/EditorDialogs is there. This happens both on my local and remote server.
This worked before and I did not do any changes to the file. Do you know why this is?
Rumen
Telerik team
 answered on 03 Sep 2012
5 answers
191 views
Hello,

The date selected into the RadDatePicker in format of 11/05/2012 and after getting the output which was coded in RadDatePicker1_SelectedDateChanged,the displayed date changes to 2012-05-11-00-00-00 and then goes back to11/05/2012. This causes a flicker issue in the field.Could I get Solution for this to overcome the flickering effect?

I reffered the below link related to this issue but couldn't find the solution.
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/raddatepicker-format-switiching-on-button-click.aspx

My Code is as below:
<telerik:RadDatePicker ID="RadDatePicker1" runat="server" AutoPostBack="true" OnSelectedDateChanged="RadDatePicker1_SelectedDateChanged"
                       ShowPopupOnFocus="true">
                   </telerik:RadDatePicker>
protected void RadDatePicker1_SelectedDateChanged(object sender, Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs e)
    {
        GetApptData();
        lblPSelectedDate.Text = RadDatePicker1.SelectedDate.Value.ToShortDateString();
    }
Milena
Telerik team
 answered on 03 Sep 2012
1 answer
92 views
Hi, 

   I Have a RadEditor inside a RadGrid ItemTemplate like this:

 <EditItemTemplate>
              <telerik:RadEditor ID="descriptionEditor" Runat="server" EditModes="Design" Font-Size="X-Small" Height="300px" Skin="Sunset" Width="100%" Html='<%# Bind("description") %>' Font-Names="Segoe UI,Arial,sans-serif" >


   But when i change the content while "editing", later in codebehind UpdateCommand event, i get the previous value of "desciption" and not the update one (see the codebehind below: If description is "aaa", and i edit to "bbb", the variable newdescription in the event is still "aaa".

 protected void grid_UpdateCommand(object source, GridCommandEventArgs e)
        { 
            if (e.CommandName == RadGrid.UpdateCommandName)
            {
                GridEditFormItem item = (GridEditFormItem)e.Item;
                if (e.Item is GridEditFormItem)
                {
                    RadEditor descriptionEditor = (RadEditor)item.FindControl("descriptionEditor");


                    string newDescription = descriptionEditor.GetHtml(EditorStripHtmlOptions.None);
                    onProgressReportGrid.Rebind();


                }
            }
        }

Can you help me, please ?
Kind regards
Rumen
Telerik team
 answered on 03 Sep 2012
1 answer
258 views
Hi All

I'm using the asyc upload and on my dev machine it all works OK.
On the staging server used for testing the upload doesn't work. When you select a file the red blob icon stays red (normally it would turn green)
I can confirm that the onclientValidation event is being fired, as we use this to detect a file size problem.
I have set permission on the upload folder and the App_Data folder and it has made no difference - is the client validation fired if permissions are wrong on the server folders?

What else should I be looking for?

Andy
Genady Sergeev
Telerik team
 answered on 03 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?