Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
44 views
I am new in telerik world.
I have used client script to open rad window on clientclicked of radbutton inside grid.
The grid comes under one panel.
I have also use RadAjaxManager to refresh panel.
So when it get refresh Rad Window closes autometically which opend by clientclick of button.
Shinu
Top achievements
Rank 2
 answered on 03 Apr 2014
1 answer
218 views
Hi

I am using IE 11 and the controls' version is 2013.2.717.35. My project is on C# and I use Visual Studio 2010.

I have a Pivot Grid control with PivotGridReportFilterField fields. How do I access on the server code, for example on the item command event, the filter values the user might have selected for each PivotGridReportFilterField fields? I need this information for a particular case on my application to filter another query.

Please provide me a sample code.

Note: I found this link - http://www.telerik.com/help/aspnet-ajax/grid-gridtableview-get-filterexpressions.html

It seems to be what I need for the case of a grid but I could not apply the suggestions to my pivot grid.

Thanks in advance,

Jose
Vasil
Telerik team
 answered on 03 Apr 2014
1 answer
52 views
Hi,
I am populating 1st Level of Data Successfully. 
But How can i Child Nodes when user Clicks on Expand(+) node?
Shinu
Top achievements
Rank 2
 answered on 03 Apr 2014
23 answers
852 views
Hi All ,

     i am using the RadEditor on a web page & i wan insert the text in rad editor at cursor position through the code behind file.
plz give me solution for this.

Regards,
Satish

Ianko
Telerik team
 answered on 03 Apr 2014
4 answers
429 views
I have a radgrid that displays some (normal) tooltips for headers and cell content.Take for example the header tooltip for this column:
<telerik:GridBoundColumn  HeaderText="<%$ Resources:IFW_Global, FamilyName  %>" HeaderTooltip="<%$ Resources:IFW_Global, FamilyNameTtip  %>" UniqueName="column"  AllowFiltering="False" DataField="LastName"
</telerik:GridBoundColumn>

And a data cell tooltip, set in code behind:
Dim item As GridDataItem = CType(e.Item, GridDataItem)
item(
"DocumentTypeCode").ToolTip = "customdoctooltip"

The tooltips stays visible for only about 5 seconds on mouseover and then it dissapears. I want all the tooltips to remain visible onmouseover without dissapearing. How would I do this? I'm looking for a simple solution.
Bob
Top achievements
Rank 1
 answered on 03 Apr 2014
11 answers
262 views
Please, I  am new in telerik. I am excited to learn this framework.

I would like to know how to add a custom save button  to RadWindow (on the Titlebar)

I have a userControl which contain a radgrid. To add new item on the radGrid, I use onColumnClick event to open a radwindow. On the radwindow, I want to add button save on the titlebar.

Is it possible?

Please, I need your help

Thank you in advance
Hiba
Top achievements
Rank 1
 answered on 03 Apr 2014
1 answer
109 views
I have a radgrid with CommandItemTemplate that contains tooltip,
inside tooltip i've a raddatepicker.

how to access this raddatepicker control from itemcommand event ?

aspx code :
<CommandItemTemplate>
                  <asp:LinkButton runat="server" ID="SaveTableLB" Visible="false">Save</asp:LinkButton>
                    <telerik:RadToolTip runat="server" ID="SaveToolTip" TargetControlID="SaveTableLB" ShowEvent="OnClick" HideEvent="ManualClose">
                     date: <telerik:RadDatePicker runat="server" ID="DateTable" ></telerik:RadDatePicker>
                         <asp:LinkButton runat="server" ID="SaveNewTable" CommandName="SaveTable" >Save </asp:LinkButton>
                      </telerik:RadToolTip>
              </CommandItemTemplate>


aspx.cs code :
foreach (GridDataItem di in TableGrid.Items)
          {
 
              RadTextBox degreeValueTxt = (RadTextBox)(di.FindControl("degreeValueTxt"));
              string degreeValue = degreeValueTxt.Text;
             .......... 
            // how to access radadatepicker from here
     
          }


Princy
Top achievements
Rank 2
 answered on 03 Apr 2014
1 answer
84 views
Hello,

I am dynamically adding a GridTemplateColumn to a radgrid but the problem is that on each postback a new empty column is added to the grid with header "Action". Any help?

 protected void Page_Init(object sender, EventArgs e)
        {
   
              var col = this.requestGrid.MasterTableView.Columns.FindByUniqueNameSafe("ActionId");
               
                GridTemplateColumn actionColumn = new GridTemplateColumn();
                this.requestGrid.MasterTableView.Columns.Add(actionColumn);
                actionColumn.ItemTemplate = new ActionTemplate("actionID");                                
                actionColumn.DataField = "ActionID";                
                actionColumn.HeaderText = "Action";
        }
Shinu
Top achievements
Rank 2
 answered on 03 Apr 2014
8 answers
133 views

Hi,

Scenario:
1. Set to the editor the "<ul><li>1</li><li>2</li><li>3</li></ul>" value in the HTML mode.
2. Place the cursor exact after the second element of the list in the Design mode.
3. Click the Indent button.
4. Choose again the HTML mode.

Result:
<ul>
    <li>1</li>
    <ul>
        <li>2</li>
    </ul>
    <li>3</li>
</ul>

It is invalid HTML as the ul tag may contain only the il child tags.  

Expected result:
<ul>
    <li>1</li>
    <li>
      <ul>
        <li>2</li>
      </ul>
    </li>
    <li>3</li>
</ul>

or 

<ul>
    <li>1
       <ul>
         <li>2</li>
       </ul>
    </li>
    <li>3</li>
</ul>


Do you have a workaround for the issue? 

Thanks,
Ivan
Ianko
Telerik team
 answered on 03 Apr 2014
1 answer
59 views
We were using this code to set a value in the editor from a custom dialog:

Telerik.Web.UI.Editor.CommandList["BackgroundImage"] = function (commandName, editor, commandArgs) {
        var argument = Telerik.Web.UI.Editor.CommandList._getLinkArgument(editor);
        Telerik.Web.UI.Editor.CommandList._getDialogArguments(argument, "A", editor, commandName);
        var callbackFunction = Telerik.Web.UI.Editor.CommandList.getCallbackFunction(commandArgs, function (sender, args) {
            if (!args) {
                //alert("No args!");
                return false;
            }
 
            var selectedItem = args.get_value();
 
            var path = args.value.getAttribute("src", 2);
            var style = editor.get_contentArea().style;
            style.backgroundImage = 'url(' + path + ')';
            document.getElementById('<%=hdnBackgroundImage.ClientID %>').value = path;
 
        });
        editor.showDialog("backgroundImageManager", argument, callbackFunction);
        return false;
    };

We upgraded to the latest Rad tools and now get an error on "args.value.getAttribute is not a function".

What can we change to get that path value from the dialog?
Ianko
Telerik team
 answered on 03 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?