Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
210 views
Hello Telerik Team,

I need ur help please, my team and I have an issue with the RadMenu,  sometimes when we enter to our web app the RadMenu doesnt show the child ítems when hover it, instead puts a "#" at the end of url  and after that none of the menú buttons Works, we have to close the tab and enter again to the site in order to make it work, how can we fix this? we have tried using the property ClickToOpen="True" but still doesnt work. Our dlls versión is 2013.3.1324.45 and this happens with IE 10 or 11 and sometimes with Chrome.


Also I got another question, we want to use the menú on IE 7 is there any chance that exists compatiblity or some property to make it work with that versión?.

I attached an image in order to be more clear about the issue we are having .

Thanks in advance.

Kind Regards

Charles Pine









Boyan Dimitrov
Telerik team
 answered on 23 May 2014
1 answer
51 views
I need to find the selected index change event of the combobox created by binding the resourcetype in radscheduler. 
I need this event because I want to implement cascading functionality on 2 or more resourcetypes. 

A little help with an example would be great. 

Thanks in advance. 
Plamen
Telerik team
 answered on 23 May 2014
1 answer
116 views
Hi,

I have numerous multiline RadTextBox controls that are not displaying a new line.
I have no problems with Firefox or Chrome.

Let me make it clear that I CAN enter new lines into these fields and they display fine at that point in time.
It's only after I save the record and subsequently open it again (in a RadWindow) that the carriage returns are not honoured.
I am retrieving the data using a web service, and updating the field using the following statement:

$find("<%=txtDesc.ClientID%>").set_value(note);

The value is obviously being stored in the database correctly since Firefox and Chrome display the content correctly.

Here's the declaration of the textbox:

<telerik:RadTextBox ID="txtDesc" MaxLength='<%# (int)Session["MaxMultiLineSize"] %>'
                                runat="server" Width="450px" Rows="7" TextMode="MultiLine" onkeydown="KeyDownMultiLine(this,event)"
                                ToolTip="Provide a detailed description for this Note" Enabled='<%# (Boolean)Session["EditProcess"] %>'>
                            </telerik:RadTextBox>

In case you're wondering the onkeydown handler simply enables my Save button if the user makes any changes to this control.  I tried removing it just in case it might have something to do with the problem, but the incorrect behaviour continued.

Any suggestions on how to get this to work properly.

Thanks in advance.

Jim
Viktor Tachev
Telerik team
 answered on 23 May 2014
1 answer
105 views
I have a asp page containing a linkbutton.  When it is clicked, the server side behind code will retrieve some text from database. Then display it in a div block inside a RadWindow.

The issue was that when the RadWindow was popped up for the first time by clicking the button, ABC was displayed . When you clicked the button again, the retrieved text was displayed. Could anyone help? Thanks!

Below is the code:

The linkButton behind code:

protected void button1_Click(object sender, EventArgse) {
       String text = retrieve(...);
       string script = string.Format("showResult (\"{0}\");",text);  
       RadAjaxManager.GetCurrent(Page).ResponseScripts.Add(script);
}

js code:

var rwNoneEditable = '<%=rwNoneEditable.ClientID%>'
function showResult (text) {
    $("#carInfo").html(text);
    alert($("#carInfo").html());//show the text
    var radW = $find('<%=rwNoneEditable.ClientID%>');
    radW .show();
}

RadWindow asp:

<asp:UpdatePanel ID="upNoneEditable" runat="server" UpdateMode="Conditional" RenderMode="Inline">
    <ContentTemplate>
    <telerik:RadWindow ID="rwNoneEditable" runat="server" Modal="true" Behaviors="Close, Move, Resize"
        VisibleStatusbar="False" Width="700px" Height="600px" VisibleTitlebar="True" Title="Test" >
        <ContentTemplate>
            <div id="carInfo" style="overflow: scroll; width: 100%; height: 100%;" visible="true">
                    ABC
            </div>
        </ContentTemplate>
    </telerik:RadWindow>
    </ContentTemplate>
 </asp:UpdatePanel>
Marin Bratanov
Telerik team
 answered on 23 May 2014
1 answer
113 views
When i select month and year and press OK ,it shows false for 1 sec and disappears.i don't want that false to appear.

Here is code.

<telerik:RadMonthYearPicker ID="rdp_CompletionDate1" runat="server" DateInput-DateFormat="yyyy/MM">
           <DateInput ID="DateInput1" runat="server" DateFormat="yyyy/MM/dd" DisplayDateFormat="yyyy/MM">
                <ClientEvents OnValueChanging="MyValueChanging" />
          </DateInput>
</telerik:RadMonthYearPicker>

Please Suggest.


Konstantin Dikov
Telerik team
 answered on 23 May 2014
1 answer
129 views
I am trying to use RadDataPaged as a seprated control  in the role of the navigation of my web pages so I just have the RadDataPager and its fields and a label that in Paer template. I need to find that table text but the problem is when I am using Label lbl=RadDatapager1.FindControl("Label1") as Label in Page_load  codes it returns null. I don't  know what should I do? Please help...
Princy
Top achievements
Rank 2
 answered on 23 May 2014
2 answers
81 views
I am trying to place 3 HTMLChart side by each on the 800px wide page.  Is there an easy way to reduce the size of the controls?  I have set the height and width but I find that the information displayed also needs to be reduced.

Thanks, Dan
Danail Vasilev
Telerik team
 answered on 23 May 2014
2 answers
133 views
Hello,

We are switching from Subversion to Git. In Subversion, it was no big deal storing the .tdf file for deployment purposes, but in Git that's a huge pain / no-no.

We're also using NuGet so we don't store Telerik binaries, but apparently the NuGet packages do not restore the .tdf file(s) when added. 

What are people's best practices in this case? Any suggestions would be appreciated.
Marin Bratanov
Telerik team
 answered on 23 May 2014
2 answers
362 views
I have a piechart, binding data from a storedprocedure. I am getting 2 columns  one is Age and BusinessTotal. Based on Age column data, Color should be showed. Please let me know how to accomplish this.

<telerik:RadHtmlChart runat="server" ID="RadHtmlChart3" Width="300" Height="300" Transitions="true">
                    <Appearance>
                         <FillStyle BackgroundColor="White"></FillStyle>
                    </Appearance>                  
                    <Legend>
                         <Appearance BackgroundColor="White" Position="Right" Visible="false">
                         </Appearance>
                    </Legend>
                    <PlotArea>
                         <Appearance>
                              <FillStyle BackgroundColor="White"></FillStyle>
                         </Appearance>
                         <Series>
                              <telerik:PieSeries DataFieldY="BusinessTotal"  StartAngle="90" >
                                   <LabelsAppearance Visible="false" Position="InsideEnd" DataFormatString="{0:N0}">
                                   </LabelsAppearance>
                                   <TooltipsAppearance Color="White"  DataFormatString="{0:N0}"></TooltipsAppearance>
                         

Databinding : C#
protected void GetBusinessData(string metricName)
        {
                SqlCommand cmdProc = new SqlCommand("[oss].[SelectSalespersonBusinessAge]", SqlConnection);
                cmdProc.CommandType = CommandType.StoredProcedure;
                cmdProc.Parameters.AddWithValue("@LoginName", loginName);
                cmdProc.Parameters.AddWithValue("@MetricYear", metricYear);
                cmdProc.Parameters.AddWithValue("@MetricMonth", metricMonth);

                SqlDataAdapter adp = new SqlDataAdapter();
                adp.SelectCommand = cmdProc;
                adp.Fill(dt);
                RadHtmlChart3.DataSource = dt;
                RadHtmlChart3.DataBind();
                if (dt.Rows[0]["age"].ToString() == "7-12 Months")
                {
                  //Yellow color should be assigned for this part
                  
                }
                if (dt.Rows[1]["age"].ToString() == "12+ Months")
                {
                   //REd for this
                }              
}
Danail Vasilev
Telerik team
 answered on 23 May 2014
2 answers
76 views
Hi,

I am exporting a Grid with images to html. The images are replaced with the url. I have already searched on internet and on Telerik forums if there is any way to show those images in my html, but I could not find a solution. Is it possible?

Regards,
Zaheer
Daniel
Telerik team
 answered on 23 May 2014
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?