Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
132 views
Hello,

I am working on a project with a RadMenu and a RadGrid.

How to set the RadAjaxManager to recognize a RadMenuItem in code behind?

Thanks,
Daniel. 
Viktor Tachev
Telerik team
 answered on 22 Oct 2014
1 answer
88 views
Hello.

We have an old application created in silverlight that we now need to replicate in asp.net webforms.  Here's an image of the old page silverlight treeview we need to replicate (note the data aligned to the right as well):
http://netmarketingllc.com/client/myfiles/Treeview_Siverlight.jpg

I tried replicating this in the telerik treeview but haven't had much luck with the formatting.  Here's my telerik attempt:
http://netmarketingllc.com/client/myfiles/treeview_telerik.jpg

To set it up this way, I had tried an html table, but it seems to be jumping to the next line.  Here's a sample of some html I was inserting (via c# code):
"<table style='width:100%;'><tr><td style='width:50%;text-align:left;'><b>" + id + "</b> " + headerName + "</td>"
+ "<td style='width:50%;text-align:right;color:blue;'>Total Cost: $" + (totalCost ?? 0).ToString("0.00") + "</td></tr></table>";

Any idea how I can get my treeview to look similar to the original silverlight version?  In particular, how to keep telerik from doing a line break?
Thanks
Hristo Valyavicharski
Telerik team
 answered on 22 Oct 2014
3 answers
410 views
I have a search button and a RadGrid which will have a template to include a link button. The link button is used to download file. While click the search button, it will bind the GridView.I put a telerik:RadAjaxLoadingPanel to include the RadGrid and add following code:
 <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadButtonSearch">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadGridHistory" LoadingPanelID="RadAjaxLoadingPanelHistory" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>

The problem is that the download link doesn't work while clicking. I think it's related with AJAX behavior and Response object. Whether there is a way to disable the AJAX post back for the link button in template column of RadGrid?
Viktor Tachev
Telerik team
 answered on 22 Oct 2014
1 answer
99 views
I would like to build a database data driven list of check boxes that are editable when the page is first loaded, i.e., automatically goes into edit mode for each record in the list.  The record would consist of the data text and a check box, indicating whether the data item was enabled/disabled.  I would like the user to be able to check/uncheck the box without having to go into edit mode.  And, then, be able to save any changes back to the database.

Any assistance would be appreciated.
Marin
Telerik team
 answered on 22 Oct 2014
1 answer
93 views

Hi

Through Telerik's controls i found difficult to use UploadControl to work with multiple target folders 

This is My Code I tried Like this

Client Side Code
==============
  <telerik:RadAsyncUpload id="Rad1" runat="server" />

 foreach (UploadedFile f in Rad1.UploadedFiles)
                {
                    f.SaveAs(DocSLoc + f.GetName() ;
                  }

When I try with the above code I am getting the following error
E:\MyApp\App_Data\RadUploadTemp\1413543533059HomeError.jpg 



Boyan Dimitrov
Telerik team
 answered on 22 Oct 2014
1 answer
150 views
I'd like to go beyond using a template for editing a row in a radgrid, so I'm showing a user control. I do like the formatting of the radGrid for Edit and Insert buttons.

I can bring up the user control with no problems -

protected void rgv_ItemCommand(object sender, GridCommandEventArgs e)
{
string Cmd = e.CommandName.ToString();

if (Cmd == "Edit" || Cmd == "InitInsert")
                ProviderEdit.Visible = true;
else
                ProviderEdit.Visible = false;
}
First, what editmode should I use to suppress the automatic template?
Second, how do I pull in the ID of the table row to pass to the control for an edit?





           
Viktor Tachev
Telerik team
 answered on 22 Oct 2014
3 answers
93 views
Hello,

I am working on a project with RadGrid and RadAjaxLoadingPanel.

When the user clicks on a button, the RadGrid gets updated.
The project requirements are that after the user clicks on the button and the spinning RadAjaxLoadingPanel icon shows, another button will appear
next to the spinning RadAjaxLoadingPanel icon. When the operation of the RadAjaxLoadingPanel ends, the button (near the RadAjaxLoadingPanel) will disappear.

Is it possible? If yes, I'd glad to get a solution.

Thanks,
Daniel.
Maria Ilieva
Telerik team
 answered on 22 Oct 2014
1 answer
101 views
HI,


I have a rotator with type 'CoverFlowButtons'.
Since the Container where the rotator is placed can change in (height) size, there are cases where the contol Buttons are not visible anymore.
To make sure that the contol Buttons are always visible (even if the height of the rotator is very small) I want to

have the control Buttons placed right below the TOP of rotator and NOT in the (vertical) middle of the rotator.

What style do I have to override to influence the 'vertical alignment' of the Rotator Controlbuttons ?

Hope someone can help.
Thanks for Feedback in advance.
Regards
Hans-Juergen
Slav
Telerik team
 answered on 22 Oct 2014
1 answer
119 views
Hi I am having issues with RadEditor, sometimes Radeditor doesn't save changes to DNN7, I tried on firefox as well as IE, can someone please help me with this.
Thanks
Ianko
Telerik team
 answered on 22 Oct 2014
1 answer
98 views
In my application I am using Telerik RadDateTime Picker control to let the user select a Date.

The calendar used by the application is Japanese Emperor Calendar.
Please find the documentation here: http://msdn.microsoft.com/query/dev12.query?appId=Dev12IDEF1&l=EN-US&k=k(System.Globalization.JapaneseCalendar);k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.5);k(DevLang-csharp)&rd=true

The Japanese Emperor Calendar has years which are different than the Gregorian year, all other things are same as the Gregorian year. The year is counted from the current emperor's year of rule. For example the current year is '平成 26'

There are currently 2 issues with the control:
1) The control shows the correct emperor year after the postback. But before the postback, the year shown is the Gregorian year.
2) When the control is selected, i.e. it is "inFocus", the year shown is Gregorian year. The year is changed to Emperor year when the control is not in Focus.

Will you please suggest how can I solve the above two issues.
If they are the issues in current implementation of RadDateTime Control, will you support the Japanese Calendar in next release or in some hotfix?
Vasil
Telerik team
 answered on 22 Oct 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?