Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
65 views
Hi,Guys,

I put some buttons on the left and a RadEditor on the right.

What I want to do:
1.click the button,then the RadEditor will show the specific html content.
2.the buttons not only mean a hyperlink but also a anchor in one page.
when clicking the anchor,the content in RadEditor will go to a specific localtion.

I write a js function for going to the anchor's position in the RadEditor's content.
The js function(scrolltoView) is registed when clicking the button with AjaxManager.

The problem:
1.when refreshing the content in RadEditor,the js function is fired and the RadEditor goes to the right position.
2.Howerver ,after the RadEditor is refreshed completely,it looks like the RadEditor loads some css style and then it goes to the wrong position.

How could this happen?Could I excute my js function after the css of RadEditor is loaded completely?

Thanks a lot,
Jack

Rumen
Telerik team
 answered on 03 Sep 2012
1 answer
63 views
Hello, I'm trying to use the control RadSocialShare with SendEmail button, it works fine, but I need to modify the appearance of the popup form to send the mail, such as not having control desire captcha, need to leave information in Spanish so as validations, how could you do this?
Thanks,
Marin Bratanov
Telerik team
 answered on 03 Sep 2012
1 answer
134 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
105 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
106 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
242 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
167 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
98 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
83 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
177 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?