Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
226 views
I have a radgrid that the user can group by collumns. He can also collapse one, or multiple groups. When exporting to pdf is it possible not to display the rows that were part of the collapsed groups? If it is possible can I get an example ,demo, or hint to make this work,please?
Thank you for you help.
Viktor Tachev
Telerik team
 answered on 26 Feb 2014
1 answer
219 views
I'm having a problem when clicking on the indent button in RichTextEditor in sitecore. Clicking the button produces a <blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"> ... </blockquote> tag, because it's the TelerikRad control that spits out this code. The <blockquote> tag causes an actual quote (") to show on the page. I just want the text to indent, not show a quote.

How can I override this behavior in TelerikRad control to produce maybe a <span> tag with indentation styling, or a <p> tag with indentation styling, rather than a <blockquote> tag?

Is there maybe some sitecore configuration setting I can modify to change the indent button's behavior to spit out a <span> or <p> tag instead of a <blockquote>?

Thanks!
Ianko
Telerik team
 answered on 26 Feb 2014
1 answer
178 views
I'm having a problem when clicking on the indent button in RichTextEditor in sitecore. Clicking the button produces a <blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"> ... </blockquote> tag, because it's the TelerikRad control that spits out this code. The <blockquote> tag causes an actual quote (") to show on the page. I just want the text to indent, not show a quote.

How can I override this behavior in TelerikRad control to produce maybe a <span> tag with indentation styling, or a <p> tag with indentation styling, rather than a <blockquote> tag?

Is there maybe some sitecore configuration setting I can modify to change the indent button's behavior to spit out a <span> or <p> tag instead of a <blockquote>?

Thanks!
Ianko
Telerik team
 answered on 26 Feb 2014
3 answers
117 views
Having an issue with multiple RadEditors on the same page. For the most part they work fine but in certain situations I get a Microsoft JScript runtime error.

Error Message:

Unhandled exception at line 6, column 74203 in http://localhost:53807/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:c9cbdec3-c810-4e87-846c-fb25a7c08002:ea597d4b:b25378d2

0x800a138f - Microsoft JScript runtime error: 'undefined' is null or not an object


Scenario:
Dot Net 4.0 framework ASP.NET app using Telerik ASP.NET AJAX 2013.3.1015 with VS Premium 2012.
I have a form with 3 editors on it inside of a RadAjaxPanel. The first 2 are inside of a RadPanelBar together. The 3rd is inside of a separate RadPanelBar. Now here is what is happening. If the first 2 editors are enabled and the 3rd is disabled, when I submit the form everything works great. Now if the 1st 2 are disabled and the 3rd is enabled is when I get the error above when submitting the form.

Any ideas?
Ianko
Telerik team
 answered on 26 Feb 2014
2 answers
208 views

Hi. I have nested listview . Child Listview has onneeddatasource. but i cant Access any DataKeyValue or custom control attribute in  OnNeedDataSource . both listviews are inside ajaxpanel.
There is an old post about it here. strange i can reach these values from itemcommand of child listview, But i cant access anything from needdatasource event. thanks.

basic skeleton:

<telerik:RadAjaxPanel ID="apanelParent" runat="server"
                ViewStateMode="Enabled"
                EnableViewState="true">
     <telerik:RadListView ID="lvParent" runat="server"
                    DataKeyNames="CId"
                    DataSourceID="OADLSParent"
                    ViewStateMode="Enabled"
                    EnableViewState="true">
               <ItemTemplate>
                         <asp:HiddenField ID="hfCid2" runat="server" Value='<%# Eval("CId") %>' />
                          <telerik:RadAjaxPanel ID="apanelChild" runat="server"
              ViewStateMode="Enabled" EnableViewState="true">
                      <telerik:RadButton ID="btnShowChildInsertItem" runat="server"
                                        ViewStateMode="Enabled"
                                        EnableViewState="true"
                                        Text="insert input"
                                        OnClick="btnShowChildInsertItem_Click"
                                        cId='<%# Eval("CId") %>'
                                        CommandArgument='<%#Container.DataItemIndex%>'>
                    </telerik:RadButton>
                    <telerik:RadListView ID="lvChild" runat="server"
                                        DataKeyNames="Id"
                                        EnableViewState="true"
                                        ViewStateMode="Enabled"
                                        InsertItemPosition="FirstItem"
                                        AllowPaging="True"
                                        PageSize="5"
                                        OnNeedDataSource="lvChild_NeedDataSource"
                                        OnItemCommand="lvChild_ItemCommand">
                    </telerik:RadListView>
                   </telerik:RadAjaxPanel>
              </ItemTemplate>
       </telerik:RadListView>
  </telerik:RadAjaxPanel>

 
OnNeedDataSource of child:

protected void lvChild_NeedDataSource(object sender, RadListViewNeedDataSourceEventArgs e)
       {
               RadListView lvChild = (RadListView)sender;
               RadListViewDataItem parentItem = (RadListViewDataItem)lvChild.NamingContainer;
 
              var parentCevapId = (int)parentItem.GetDataKeyValue("CId");//null.null exception
 
               RadButton rb = (RadButton)parentItem.FindControl("btnShowChildInsertItem");
               int cId = Convert.ToInt32(rb.Attributes["cId"]);//null.there is rb but no attr.
 
               HiddenField hf2 = (HiddenField)parentItem.FindControl("hfCid2");
//there is an hf2 but no value
               string cId3 = hf2.Value.ToString();//null

Cuneyt
Top achievements
Rank 1
 answered on 26 Feb 2014
1 answer
122 views
Hello,

What date format does a RadDatePicker control support? I mean, both at the time of selecting of date from control and as well as at the time of fetching from database, whether it shows the date according to server regional settings or client's regional settings?

Thankyou
Shinu
Top achievements
Rank 2
 answered on 26 Feb 2014
0 answers
169 views
Hola buenas noches, estoy desarrollando una web donde mi pagina "Lineas" (WindowsManager) abre una PopUp "ResumenGarantia" (RadWindows), y esta a su vez manda llamar un método de JavaScript que abre otra PopUp "CapturaGarantias" (RadWindows), el problema es que al cerrar la PopUp "CapturaGarantias" (RadWindows) necesito que se actualice la PopUp "ResumenGarantia" (RadWindows), he leído un poco y al parecer es por medio de un PostBack, ya puede re abrirla pero esto consume recursos y solo necesito que se carguen algunos datos no toda la ventana. Cabe mencionar que uso C#, JavaScript, Ajax y Telerik. Espero que alguien me pueda apoyar. Muchas Gracias.
Omar
Top achievements
Rank 1
 asked on 26 Feb 2014
4 answers
288 views
Hi all, I am using radAsyncUpload control, The problem I am facing is when a user select a file who's name is long than the file name exceeds the width of radAsyncUpload, I want the file name to be raped so that file name do not get out of radAsyncUpload border. please refer the attached screen shot.
Muhammad
Top achievements
Rank 1
 answered on 26 Feb 2014
1 answer
270 views
Hi All,

Currently my RadGrid displays LinkButtons instead of Buttons when in edit mode.  Insert/Update/Cancel are LinkButtons and not buttons.  Can anyone please tell me how to change these to buttons?

Thanks,
Mark
Princy
Top achievements
Rank 2
 answered on 26 Feb 2014
0 answers
65 views
I would like to know how I can control create/delete/move/rename functions based on a users role.  For example, a typical user would only be able to do these functionsu only in their target folder.  An admin could go into any folder and do any of the functions.  The folder structure looks like this:

\root\uploads\user1
                      \user2

etc.

Thanks!
Helmut
Top achievements
Rank 1
 asked on 26 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?