Telerik Forums
UI for ASP.NET AJAX Forum
18 answers
917 views
I have been reading alot of the documentation in regards to Customizing Dialogs and I can't seem to work it out. I downloaded the current zip version (2008.1 619). The EditorDialogs folder contains all the dialogs but the docs don't seem to correspond to the current content of dialogs ascx files. For example if I want to hide or disable tabs which are now in a toolbar.
If I customize a dialog how can I use it as the dialogs seem to be embedded in dll's? So I searched a bit more and I found the section on Adding Custom Dialogs and you create a new DialogDefinition class and pass in either a type of dialogType or a string of virtualPath in the constructor. I added the EditorDialogs folder to my project and tried adding the ImageManager.ascx file into contructor but got the 'Object reference not set to an instance of an object' error. Is there another way to do this? 

If that is not possible then I guess I need to create custom dialog from scratch. If I create from scratch then is it possible to utilize existing built in controls such as the widgets controls eg. <widgets:GenericFileLister>. How and what would I need to wire these up. I can think of a lot of custom dialogs that are either existing managers that I alter or taking advantage of a bunch of the widget controls to build dialogs from scratch. I have read alot of the docs and searched forums/knowledge base/code library and found bits and pieces that give me hope but I feel like I am shooting in the dark.

What I specifically want to build now is a dialog based on any of the file browser dialogs, it could be file based or implement a custom FileBrowserContent Provider. The file browser will list mp3 files that when clicked will use a Flash mp3 player to play the selected track so you can preview the track and if the track you want is not there then the user can upload the new track. I know I can build a totally custom dialog but it seems that so much of the functionality is already so close to what I want.

Regards
Axe
IT Dev
Top achievements
Rank 1
 answered on 25 Oct 2012
1 answer
103 views
I have a client side onrowselect function and I am trying to know the row its selecting each time (multi  select using shift/drag). Is there a way to reference that. I don't need to know the row that triggered the event as its multi select, I want to know which row is being selected in each call.

Thanks
Shinu
Top achievements
Rank 2
 answered on 25 Oct 2012
1 answer
139 views
<telerik:GridTemplateColumn DataField="Data" HeaderText="Imagen" UniqueName="Upload">
                                               <ItemTemplate>
                                                   <a class="FotoGrid" href="#" onclick="VerImagen($(this))">
                                                       <telerik:RadBinaryImage ID="RadBinaryImage2" runat="server" AlternateText='<%#Eval("Contenido", "Photo of {0}") %>'
                                                           AutoAdjustImageControlSize="false" DataValue='<%#Eval("Contenido") is DBNull ? null : Eval("Contenido")%>'
                                                           Height="80px" ToolTip='<%#Eval("Contenido", "Photo of {0}") %>' Width="80px" />
                                                   </a>
                                               </ItemTemplate>
                                               <EditItemTemplate>
                                                   <telerik:RadAsyncUpload ID="FotoActualizar" runat="server" AllowedFileExtensions="jpg,jpeg,pdf"
                                                       MaxFileInputsCount="1" MaxFileSize="1048576" ToolTip="Actualizar Archivo">
                                                       <Localization Cancel="Cancelar" Remove="Quitar" Select="Archivo" />
                                                   </telerik:RadAsyncUpload>
                                                   <asp:CustomValidator runat="server" ID="cvUploadFotoMaterial" ClientValidationFunction="validateUploadFoto"
                                                       ErrorMessage="Fotografia es requerido" ForeColor="Red" ValidationGroup="vgGridFotos">*</asp:CustomValidator>
                                               </EditItemTemplate>
                                           </telerik:GridTemplateColumn>

var masterTable = $find("<%=gridFotos.ClientID %>").get_masterTableView();
                var upload = masterTable.get_dataItems()[0].findControl('FotoActualizar');

doesn't' work
Shinu
Top achievements
Rank 2
 answered on 25 Oct 2012
2 answers
146 views
Hi all,
       I have a radcombox present in a radwindow the autopostback is set to true and when i select a item in the radcombo the radwindow is being closed due to postback what to do???
Naveen kumar
Top achievements
Rank 1
 answered on 25 Oct 2012
1 answer
443 views
Hi All,
   I have a scenario where when I click a gridbuttoncolumn of a radgrid with buttontype as linkbutton would like to open a radwindow which should display a .aspx page. ALL should be done dynamically from code behind.


Shinu
Top achievements
Rank 2
 answered on 25 Oct 2012
1 answer
69 views
I've upgrade to 2012 Q3 and am now creating my first web application since the upgrade.  Going through the Project Configuration Wizard, the colour scheme has changed.  In the first panel where I select the project theme the white background appears and I can read the screen, but the panels after that have lost the white background making the text black on brown and very difficult to read.
Joan
Top achievements
Rank 1
 answered on 24 Oct 2012
1 answer
181 views
I have a submit button white pops a radconfirm dialog asking Yes or cancel. If they click Yes then I need to update a textbox from server side c# code. But if I do all of this the RadTextBox ontextchanged method is never fired

Once again, THE PROBLEM IS RADTEXTBOX ONTEXTCHANGED NEVER FIRES!!!!!! HOW TO GET IT TO FIRE THE SERVER SIDE EVENT? I can not remove it from up UpdatedControls because I need it for the confirm dialog

<
telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="lblError" />
                       <telerik:AjaxUpdatedControl ControlID="txtSONumber" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>




<telerik:RadTextBox ID="txtSONumber" Width="300px" runat="server" AutoPostBack="true" CausesValidation="true"
                                Onkeydown="Keypress_Event()" ontextchanged="txtSONumber_TextChanged" >
                            </telerik:RadTextBox>




function Keypress_Event() {
 
 
              var combo = $find("<%= txtCustomerName.ClientID %>");
              combo.set_value("");
 
          }


Pavlina
Telerik team
 answered on 24 Oct 2012
3 answers
149 views
Using the new telerik control panel I updated by radControls for ASP.NET Ajax from 2012.1.215.40 to 2012.3.1016.4. This is now the only version that is installed. Then when I opened my project in Visual Studio 2010 I got the green update box indicating that the version had changed, and I clicked the update button. There were no errors shown in the update log. However I get strange errors when I open my master page and put it into design view (see attached image). I tried removing and re-adding the references to Telerik.Web.UI.dll and Telerik.Web.UI.Skins.dll, closing and restarting Visual Studio. I verified using right-click Properties that the dll files where the correct version (2012.3.1016.4). After I open the masterpage.master file and successfully build the project, the Telerik.Web.UI.dll file in my /Bin folder has reverted back to the 2012.1.215.40 version! That version isn't even installed on my computer any more, and it is not one of the project references, so where is it coming from??? And why is it overwriting the newer version???
Jeanne
Top achievements
Rank 1
 answered on 24 Oct 2012
3 answers
193 views
hi,

Is there a way to integrate AJAX controls with Kendo UI complete for MVC?
Slav
Telerik team
 answered on 24 Oct 2012
6 answers
141 views
Hello

Fields of type URL are not shown as normal links (with URL description as display text and URL address as href), but in form of http://www.xxx.com, URL description. When you click on the link, the view item properties window is opening instead of target address.

How can you control the rendering of URL values in the grid?

In the normal view of corresponding list in SharePoint the links are shown correctly.

Thank you and best regards,
Roger
Tsvetoslav
Telerik team
 answered on 24 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?