Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
285 views
Hi ,
When I Export to Excel from a  RadGrid then everything is fine, but if I Export RadGrid with GridTemplateColumn and RadComboBox as an  ItemTemplate, then the Value, DataValueField  ,of the RadComboBox  it show instead of the DataTextField.
How can extract the radcombox  DataTextField instead of  DataValueField  ?
thanks
Daniel
Telerik team
 answered on 16 Mar 2012
1 answer
164 views
Hi,

I am converting an existing ListView implementation  bound to an ObjectDataSource into a RadListView.
I have however reached a problem with the OnItemInserting event where I cannot see where to change the values that are being sent to the ObjectDataSource Insert Method
For example, in the existing ListView, I can specify:
protected void lvwTest_ItemInserting(object sender, ListViewInsertEventArgs e)
{
 e.Values["expert_id"] = 4;
}

 

How can I do this for a RadListView ?

Thanks,
Tsvetina
Telerik team
 answered on 16 Mar 2012
2 answers
311 views
Hi,

I'm having a problem with the RadAjaxManager. When I click the button for the first time, it works correclty (doing a partial postback). On the second click, a full postback is done. I found some similar posts on this issue, but none of them helped me solved the problem.

The button is inside a RadToolTip. The following code should reproduce the problem.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="BC_Cockpit.Website.test.WebForm1" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head id="Head1" runat="server">
  <title></title>
  <script>
    alert('page load');
  </script>
</head>
<body>
  <form id="form1" runat="server">
  <div>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
      <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnSaveGeneral">
          <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="tipGeneralSettings" />
          </UpdatedControls>
        </telerik:AjaxSetting>
      </AjaxSettings>
    </telerik:RadAjaxManager>
    <img id="imgGeneralSettings" src="/main/images/icons/cog.png" alt="Settings" />
    <telerik:RadToolTip ID="tipGeneralSettings" IgnoreAltAttribute="true" runat="server" ShowDelay="0" IsClientID="true" ManualClose="true" TargetControlID="imgGeneralSettings"
      RenderInPageRoot="true" RelativeTo="Element" Position="BottomLeft" Width="250" ShowEvent="OnClick" Title="General settings" CssClass="bright-form-popup">
      Settings here..
      <asp:Button Text="Save" ID="btnSaveGeneral" runat="server" OnClick="btnSaveGeneral_Click" />
    </telerik:RadToolTip>
  </div>
  </form>
</body>
</html>

Watch for the 'page load'  alert on the 2nd click.

I'm a doing anything wrong? Or is this some kind of bug?

Thanks
Danny
Top achievements
Rank 1
 answered on 16 Mar 2012
1 answer
124 views
Is there any way for me to pull data from lower level nodes. LIke I have a root  node populating the parent nodes nd that populates the child nodes.. and so on and so forth. But im making a folder system and if a user added a new folder i have no way without hardcoding it to do what i need it too.. and i dont want to limit the folder numbers.. heres some code to show you waht im attempting. I want to do the foreach loops when the lower level nodes contain nodes.. anyway to do this not hardcoded
foreach (RadTreeNode node in rtvFiles.Nodes)
            {
                foreach (RadTreeNode parentNode in node.Nodes)
                {
                    foreach (RadTreeNode childNode in parentNode.Nodes)
                    {
                        //if (parentNode.Text == "share")
                        //{
 
                        if (childNode.Checked)
                        {
                            FilesCOL file = FilesDAL.SelectByName(childNode.Text, int.Parse(childNode.Attributes["FileID"]));
                            c = file.FilePath;
                            b = childNode.Text;
                            d = file.FileID.ToString();
                        }
                        else
                        { if(childNode.Checkable==false)
                            foreach (RadTreeNode babyNode in childNode.Nodes)
                            {
                                 
                                if (babyNode.Checked)
                                {
                                    FilesCOL file = FilesDAL.SelectByName(babyNode.Text, int.Parse(babyNode.Attributes["FileID"]));
                                    c = file.FilePath;
                                    b = babyNode.Text;
                                    d = file.FileID.ToString();
                                }
}
}
ome code to show you waht im attempting
Bozhidar
Telerik team
 answered on 16 Mar 2012
1 answer
78 views
All

I have created a page that uses a control that will generate radgrids (up to 5 grids)  - each grid has "allowmultirowedit" = true - so that each gridRow can be modified.  The "parent" page contains the "Save" button ...  I need to tie the Save button action to each of the radgrids ...  like the GridView "SaveButtonId" property - any ideas?
Tsvetina
Telerik team
 answered on 16 Mar 2012
2 answers
174 views
Hallo,

I know the topic has already been mentioned in the forum and the help, but the threads did not work for me.

I'm trying to set the default font that's used when I create a new item. Changing the default font of the browser works fine, but I'd like to have a server based setting.

I have a css-file in the layouts folder, that contains a proper defintion for 'body'. How can I redirect the RadEditor control to use this file to render the default font?

I'd appreciate your help,
Philip Thomé
Philip
Top achievements
Rank 1
 answered on 16 Mar 2012
1 answer
204 views
Edit - Nevermind - the below does work with RadButton - just had a typo in my code.  Would be nice to add this to the documention here:

http://www.telerik.com/help/aspnet-ajax/button-client-side-basics.html 

--------

I can't seem to find anything on this - but it seems like a pretty simple task.  I would like to dynamically change the tooltip on a RadButton in Javascript.  I see there is a .get_toolTip(), but no mention of a .set_toolTip()?

I was hoping I could do something simple like this:

$find('<%= RadButton1.ClientID %>').set_toolTip('New tooltip');
Slav
Telerik team
 answered on 16 Mar 2012
4 answers
150 views
I'm using Edit Form to insert/edit items. The problem I'm running into is when I try to edit a row, it's using the same form and some of the controls are not set to what data item for that grid item actually has. When in the life cycle can I set selected values for my RadComboBoxes and RadNumericTextBoxes, any code examples?
Antonio Stoilkov
Telerik team
 answered on 16 Mar 2012
1 answer
146 views
Hi

I have a Page A where on button click, I display another page B using radwindow dialog. When button save is clicked on page B, some data is  processing, Page B is closed and then page is redirected to Page A.
In this scenario, i refresh page A with radajaxmanager sometimes it takes considerable amount of time and user may not know if the processing is going on.

I wan to display a loading panel on Page A once the Dialog of page B is closed, I am using DefaultLoadingPanelID in my radajaxmanager but the loading panel is not displaying. I dont know why :(

Maria Ilieva
Telerik team
 answered on 16 Mar 2012
1 answer
81 views
Hi,

I have a treelist control loaded dynamically inside RadDock. When the dock is expanded the controls are loaded but the styles are not rendered. I also checked the site and found the EnableAjaxSkinRendering property of RadDock and set tat to true.
Even tat didn't work. This problem exists only in Internet Explorer. Please refer the image attached below.

Thanks,
Karthik
Tsvetina
Telerik team
 answered on 16 Mar 2012
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?