Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
127 views
Hi all,

i need to change the RadConfirm window contect and header direction from code behinde according to flag value?

if flag ==1 this means ltr
if flag ==2 thism means rtl

i don't know how to do that?
please help
asaad
Marin Bratanov
Telerik team
 answered on 25 Feb 2013
6 answers
215 views
Hey guys,
Hopefully this will be an easy one for you guys; but it has me stumped. I have a RadGrid with FilterByColumn in the command bar. The filtering works as expected, functionally But when I select a filter function from the drop down menu and then re-open the drop down the font color is blacked out. When I hover over a menu item the background turns black and the font turns white; so that works. But once the item is selected the background turns black but the font stays black. I've been trying to find the css class that controls the selected menu item in the grid filter but so far no luck. This happens on every RadGrid in the application, so it needs to be fixed in the css. It also happens in any browser, so it's not a browser issue. If you guys can tell me where to look for the css class to set the font color for selected filter functions in a rad grid I would really appreciate it.

Thanks,
Shane
Ivan Zhekov
Telerik team
 answered on 25 Feb 2013
3 answers
83 views
I'm getting this error while drag-and-dropping in any radgrid in my website with version 2011.2.915.40 (Telerik.Web.UI.dll) and I didn't get this error previous to upgrade from version 2011.1.413.40.

Thanks.
Maria Ilieva
Telerik team
 answered on 25 Feb 2013
1 answer
67 views
In my code behind file, I have set the property enabled = "false" for my Grid. I tried to click on the check box for an item row to select it and it was disabled as one would expect. I then double clicked on the check box for an item row and all the check boxes are deselected. For some reason the grid will allow the user to deselect items by double clicking while the grid is disabled. See attached Screenshots. However, this action does not work once the items have been deselected and a user tries to double click a check box, the items are not reselected.

Is there something that I am missing? I would not expect this functionality when the grid is disabled.
Eyup
Telerik team
 answered on 25 Feb 2013
2 answers
186 views
I have two dropdown columns in a grid, if i change one dropdown i want to be able to change the contents of the other dropdown in the grid depending on the chosen value in dropdown 1. I can get the dropdown to autopost but I am unsure on how to repopulate the second drop down as this is currently being done in the itemdatabound method. Can someone tell me if this is possible?
Jayesh Goyani
Top achievements
Rank 2
 answered on 25 Feb 2013
12 answers
634 views
I have just updated my Telerik AJAX from 2012 Q2 To 2012 Q3 recently.
I found out that the RadButton, when set to Link ButtonType, unlike the previous version, it does not have transparency background. Is there anyway to fix it?

Attached, please find following pic:
* "Before.png" picture, which show the RadButton (Link ButtonType) in 2012 Q2 Version.
* "After.png" picture, which shown the RadButton (Link ButtonType) in 2013 Q3 Version.

Thanks

Lamk
Bozhidar
Telerik team
 answered on 25 Feb 2013
2 answers
273 views
I've been having issues with RadEditor exporting a very simple and basic version of the actual HTML I've added.

I've attached 2 screen shots. 
1. How it appears in a browser when launched from Dreamweaver
2. The exported PDF

It's really frustrating that the HTML code has to be so specific and that it ignores all of the formatting (inline styles and css styles)

Any tips for getting exported PDFs to use CSS styles?
Jason
Rumen
Telerik team
 answered on 25 Feb 2013
2 answers
157 views
So I've been trying to use the RadEditor to export content to PDF but I've had very mixed results on what HTML can be added.

I've been reading HTML from another source and then adding it to the content:
RadEditor.Content = stringOfHTML

Here's the HTML I've been using for my content:
<div style="width:700px;">
<div style="width:100%;"><img src="http://www.cloudprojecthosting.com/1050140/Web/Images/imgDCheaderGraphic.png" width="100%" /></div>
 
 
<div style="width:49%; float:left;">
   (%NULL:Author Display Name%)<br/>
  (%NULL:Author Company%)<br/>
 (%NULL:Question%)
</div>
 
<div style="width:49%; float:right;">
   (%NULL:Answer Display Name%)<br/>
   (%NULL:Answer Company%)<br/>
(%NULL:Answer%)
</div>
</div>

If I just add this line it renders in the PDF:
<div style="width:100%;"><img src="http://www.cloudprojecthosting.com/1050140/Web/Images/imgDCheaderGraphic.png" width="100%" /></div>
 But adding any additional lines causes the PDF to open blank?

I've seen older posts where <Table> can't be used because it needs Colgroup and col or something but that was from 2009? 
Do I need to add the content as a specific mode or something?
Rumen
Telerik team
 answered on 25 Feb 2013
0 answers
223 views
Since Q1 2013, the wrapping element of RadButton was changed from an anchor <a> tag to a <span> because the HTML5 specification does not allow nesting <input> elements into <a> tags. If you are using any custom CSS cascades based on the <a> tag, they should be changed to use the <span> tag, e.g.

Old syntax:
a.RadButton .rbDecorated
{
      color: red;
}

New syntax:
span.RadButton .rbDecorated
{
      color: red;
}

You should not experience problems in custom styling scenarios when an anchor was not used in the CSS cascade.
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 25 Feb 2013
4 answers
194 views
I have a hierarchical RadGrid which contains a NestedViewTemplate that has a Panel, TabStrip, and MultiPage inside of it.  On row expand, an ajax request is fired and loads the first tab.  However I would like all of the subsequent tabs to be ajaxified as well.  How can I achieve this?  

Even when I use Design mode and try to add these AjaxControl/AjaxUpdatedControl relationships, I do not have an option for my NestedViewTemplate, TabStrip, and MultiPage (while they are inside the grid)

My code is:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
  <AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="RadMenu1">
      <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelHeight="100%"/>
      </UpdatedControls>
    </telerik:AjaxSetting>
    <telerik:AjaxSetting AjaxControlID="RadGrid1">
      <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="RadGrid1"/>
      </UpdatedControls>
    </telerik:AjaxSetting>
      <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
          <UpdatedControls>
              <telerik:AjaxUpdatedControl ControlID="NestedViewPanel1" />
          </UpdatedControls>
      </telerik:AjaxSetting>
      <telerik:AjaxSetting AjaxControlID="RadMultiPage1">
          <UpdatedControls>
              <telerik:AjaxUpdatedControl ControlID="NestedViewPanel1" />
          </UpdatedControls>
      </telerik:AjaxSetting>
  </AjaxSettings>
</telerik:RadAjaxManager>

<telerik:RadGrid ID="RadGrid1"
                 runat="server"
                 DataKeyNames="PrimaryKey"
                 OnItemCommand="RadGrid1_ItemCommand"
                 OnNeedDataSource="RadGrid1_OnNeedDataSource"
                 EnableViewState="false">
  <MasterTableView>
    <NestedViewSettings>
      <ParentTableRelation>
        <telerik:GridRelationFields DetailKeyField="PrimaryKey" MasterKeyField="PrimaryKey" />
      </ParentTableRelation>
    </NestedViewSettings>
    <NestedViewTemplate>
     <asp:Panel ID="NestedViewPanel1" runat="server" CssClass="viewWrap bordered-bottom">
        <telerik:RadTabStrip runat="server" ID="RadTabStrip1" AutoPostBack="true" MultiPageID="RadMultiPage1"></telerik:RadTabStrip>
        <telerik:RadMultiPage runat="server" ID="RadMultiPage1" EnableEmbeddedScripts="true"></telerik:RadMultiPage>
      </asp:Panel>
    </NestedViewTemplate>
  </MasterTableView>
</telerik:RadGrid>

And my tabs are created programmatically:

string[] testing = { "Test1", "Test2", "Test3", "Test4", "Test5", "Test6" };
 
foreach (string tabName in testing)
{
    RadTab tab = new RadTab();
    tab.Text = tabName;
    RadTabStrip1.Tabs.Add(tab);
    RadPageView pageView = new RadPageView();
    RadMultiPage1.PageViews.Add(pageView);
    pageView.ID = "Page" + RadTabStrip1.Tabs.Count.ToString();
    pageView.Controls.Add(new LiteralControl(pageView.ID);
    RadTabStrip1.SelectedIndex = 0;
    RadTabStrip1.MultiPageID = RadMultiPage1.ID;
    RadTabStrip1.DataBind();
}
Kostadin
Telerik team
 answered on 25 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?