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

We are using version 2014.2.724.40 of you ASP.NET for AJAX controls.

I'm experimenting with creating RadDocks dynamically via your client-side api.  I have a couple of questions.

Q1) I've read in many forum posts that it cannot reliably / effectively / safely be done.  Is that still true?

Currently, I'm cloning an existing RadDock using javascript, then I want to change a few of the properties that are saved with the Dock's state.  The first property I want to set or change, is the Dock's UniqueName property.  When I look at the RadDock in debug mode, I see that it has a set_uniqueName() method.  But you don't document that method in your help file.   When I use it to set the uniqueName property, it works.  I also use the undocumented set_tag() method...

Q2)  How dangerous is it to use the Dock's set_uniqueName and set_tag methods, since they aren't documented?  I obviously don't want to risk using a method that might be changed or removed in the future.

I use the Dock's Tag property to indicate what user control I want to load in the RadDock.  After I set these properties, I do an ajaxRequest postback to save the state of all the RadDocks.  All of this is working.

My last step is to figure out how to reload the content of the newly added RadDock, without refreshing any of the other RadDocks.

Presently, the new cloned RadDock contains the same user control as the one I cloned it from.  But I know I've saved the new state of it because if I reload the page (which reloads all the RadDocks), then the new cloned RadDock contains the correct user control.

Q3)  Is there a client-side method I can use to reload the content (refresh) a specific RadDock, without refreshing the others?

Thanks,
Michael
Slav
Telerik team
 answered on 22 Oct 2014
3 answers
124 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
74 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
402 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
96 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
88 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
148 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
91 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
99 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
117 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?