Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
180 views
Hi,

I have a RadGrid with two bound columns and a RadComboBox in EditItemTemplate of the Template Column.The Grid is in batch edit mode. When i press Add New Record and select an item in RadComboBox , the bound column(textboxes) should get populated with the selected value in RadComboBox.

Thanks.
Kostadin
Telerik team
 answered on 03 Apr 2014
1 answer
113 views
Hi,

I'm trying to implement grid filtering where my Data Sources is webapi.

I tried to follow the following: Take a Walk on the Client Side with WebAPI and WebForms – Part 2

The grid is working fine but I'm I having an issue when I'm trying to implement filtering, there is no GetNextPage() in the request in my ApiController

My project is an ASP.NET web forms project, .net 4.5

Here is my ApiController code:

[HttpGet]
public PageResult<SecuHostUser> Load_Users(ODataQueryOptions<SecuHostUser> options)
{
     
    var context = new ApplicationDbContext();
    var users= context.Users.AsQueryable();
    var results = options.ApplyTo(users);
    return new PageResult<SecuHostUser>(results as IEnumerable<SecuHostUser>, Request.GetNextPageLink(), users.ToList().Count);
 
 
}


Vasil
Telerik team
 answered on 03 Apr 2014
4 answers
255 views
Hi,

I was trying to use the client side script for image gallery set to work as light, I have couple of queries.

1. I have added a client script for OnImageLoaded, the script is not getting executed when the light box load the image on user click on the thumbnail. 

<telerik:RadImageGallery ID="RadImageGallery1" runat="server" AllowPaging="true"
DisplayAreaMode="LightBox" ImagesFolderPath="~\Images"
Skin="Glow" >
<ClientSettings>
<ClientEvents
OnImageLoaded="imageLoaded"  />
</ClientSettings>
</telerik:RadImageGallery>

function imageLoaded(sender, args) {
alert("ImageLoaded");
// var imageItem = args.get_item(); }

2. Can we add controls to the light box inside the image gallery similar to the AsyncUpload and get the value in the back end using GetFieldValue.

Thank you.

Regards,
Majid
Radoslav
Telerik team
 answered on 03 Apr 2014
1 answer
61 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
262 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
85 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
966 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
490 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
331 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
165 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?