Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
240 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
59 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
248 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
73 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
914 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
481 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
317 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
155 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
104 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
170 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?