Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
388 views
I am using a GridHyperLinkColumn with an ImageUrl defined. This produces a column with an image as the hyperlink. I want to add an ALT or Title tag to the image so that the end-user will know what clicking the image will do. There does not appear to be an "alt" or "title" property for the GridHyperLinkColumn. I've tried using the "text" property, but it does not work. Also, using the "HeaderText" property is not an option as I have the headers blank for those columns. Below is a sample of my code:

<telerik:GridHyperLinkColumn
ItemStyle-Width="20px" 
UniqueName="EditStudent"
ImageUrl="~/Common_Images/icons/View_Student.gif"
HeaderText=""
DataNavigateUrlFields="UserId"
DataNavigateUrlFormatString="~/Secure/EditStudent.aspx?uid={0}"
AllowFiltering="False" />

The screen shot shows four columns, each a separate GridHyperLinkColumn. The "Student" column (obfuscated) is a standard GridBoundColumn.

Any help is appreciated....
Dave
Top achievements
Rank 1
 answered on 07 Jan 2014
4 answers
206 views
Hi,

I've added ShowContentDuringLoad="false" to my otherwise functional RadWindow (see below). Now the loading dialog is displayed but never goes away. I can see in Fiddler that the request completed successfully with a 200 response. Do you have any idea why this is happening? The window loads correctly if the ShowContentDuringLoad attribute is either set to true or removed.

Thanks,
Joe

--------------------------------
      <telerik:RadWindow ID="ViewRRDialog" runat="server" Title="View PDF Report"
        Height="550px" Width="800px" ReloadOnShow="true" Modal="true"
        Skin="WebBlue" VisibleStatusbar="false" ShowContentDuringLoad="false">
Marin Bratanov
Telerik team
 answered on 07 Jan 2014
2 answers
186 views
How do I used Biff Excel Export but hide/disable the footer row from being exported?

Thank you.
Nick
Top achievements
Rank 1
 answered on 07 Jan 2014
3 answers
133 views
Hi, on http://demos.telerik.com/aspnet-ajax/button/examples/overview/defaultcs.aspx the link under Functionality to Embedded icons seems to be correct, but you get redirected to the documentation page instead of the demo page. The same happens if you click the link at the bottom to the demos page on the documentation page.

Erik
Top achievements
Rank 2
 answered on 07 Jan 2014
1 answer
120 views
Hi. I use radwindow for delete process confirmation. My code like below:

<telerik:RadWindowManager runat="server" ID="RadWindowManager1" OnClientCommand="">
          <ConfirmTemplate>
            <div>
              <h3>Kayıt Silme Onayı</h3>
                <label style="margin:10px 0 10px 0;display:block;margin:20px;">Kaydı Silmek İstediÄŸinize Emin misiniz ?</label>
              <div style="float:right;">
                <asp:Button ID="btnYes" runat="server" Text="Evet" CssClass="button ino-button-edit" OnClick="btnYes_Clcik" />
                <asp:Button ID="btnNo" runat="server" Text="Hayır" CssClass="button ino-button-delete-red" />
              </div>
              <div style="clear:both;"></div>
            </div>
          </ConfirmTemplate>
       </telerik:RadWindowManager>

When I click yes button I want delete the record. But yes button click does not fire. How can I achieve this.Thanks in advance.
Marin Bratanov
Telerik team
 answered on 07 Jan 2014
1 answer
142 views
Hi
please help im using GridClientDeleteColumn to delete my rows . It removes the row but not from database.
Princy
Top achievements
Rank 2
 answered on 07 Jan 2014
1 answer
108 views
Hi,

When i try to open a RADWindow on one of the image/button click i am getting the following error "SCRIPT5007: Unable to get property 'open' of undefined or null reference Telerik.Web.UI.WebResource.axd,". This issue occurs in IE10. The application works fine in other browsers like IE9,8,7,6, Firefox.

Thanks,
Venkatesh Santhanam
Marin Bratanov
Telerik team
 answered on 07 Jan 2014
3 answers
144 views

Have an application that populates a RadGrid that resides within a RadWindow.  We have logic that will automatically set the size of the RadWindow to 80% of the available browser window size. 

On initial load of the RadGrid the display is just fine and looks good.  However if the user were to group something it will then resize the grid into something smaller.  At times causing the Filters to no longer be visible.  I have noticed others having the same sort of issue and the suggestions were cause each column to be a standard width or specify the size of the grid to be larger than the window.  Also suggestions of setting the "autoscroll".  Tried implementing those suggestions but results caused further problems.  Maybe there is a solution that I haven't found. 

Attached you will find what things look like when the grid is first populated and then what happens when a grouping is applied.

Thank you for your help

<telerik:RadGrid ID="_SearchResults" runat="server"
    AllowPaging="True" CellSpacing="0"
    GridLines="None" ShowGroupPanel="True"
    AllowSorting="True" PageSize="25" Width="100%" Height="100%"
    AllowFilteringByColumn="True" EnableLinqExpressions="true" HeaderStyle-Font-Bold="true"
    EnableEmbeddedSkins="False" CssClass="RadGrid_ASI"
    FilterItemStyle-BackColor="#6d9c1f" FilterMenu-BackColor="#CCCCCC" >
    <HeaderStyle CssClass="RadHeaderStyle" ForeColor="#ffffff" />
    <GroupingSettings CaseSensitive="False" />
    <ExportSettings IgnorePaging="True" OpenInNewWindow="True"
        ExportOnlyData="True" FileName="CUCustomSearch" >
        <Excel AutoFitImages="True" Format="ExcelML"  />
        <Pdf PageHeight="210mm" PageWidth="297mm" DefaultFontFamily="Arial Unicode MS" PageTopMargin="45mm"
            BorderStyle="Medium" BorderColor="#666666">
        </Pdf>
    </ExportSettings>
    <ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True"
        ReorderColumnsOnClient="True">
        <Scrolling AllowScroll="True" UseStaticHeaders="True" FrozenColumnsCount="2" />
        <%--<Resizing AllowColumnResize="true" ResizeGridOnColumnResize="true" AllowResizeToFit="true" />--%>
 
    </ClientSettings>
    <MasterTableView CommandItemDisplay="Top" InsertItemDisplay="Bottom" ShowGroupFooter="false"
        TableLayout="Auto" Width="100%"
        PagerStyle-NextPageImageUrl="../images/Grid/PagingNext.gif" PagerStyle-LastPageImageUrl="../images/Grid/PagingLast.gif"
        PagerStyle-PrevPageImageUrl="../images/Grid/PagingPrev.gif" PagerStyle-FirstPageImageUrl="../images/Grid/PagingFirst.gif">
    <CommandItemSettings ShowAddNewRecordButton="False"
        ShowExportToCsvButton="False" ShowExportToExcelButton="true" ShowRefreshButton="False" ShowExportToPdfButton="False" ExportToExcelImageUrl="../images/Grid/ExportToExcel.gif" ExportToPdfImageUrl="../images/Grid/ExportToPdf.gif" />
        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
        </RowIndicatorColumn>
        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"
            Visible="True" CollapseImageUrl="../images/Grid/SingleMinus.gif" ExpandImageUrl="../images/Grid/SingleMinus.gif">
        </ExpandCollapseColumn>
        <EditFormSettings>
            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
            </EditColumn>
        </EditFormSettings>
    </MasterTableView>
    <FilterMenu EnableImageSprites="False" CssClass="RadMenu_ASI">
    </FilterMenu>
</telerik:RadGrid>

Galin
Telerik team
 answered on 07 Jan 2014
1 answer
103 views
After editing the existing image file, I would like to make the file name to be readonly so that the user cannot change the file name to another name when saving to the server.

How do I accomplish this?
Vessy
Telerik team
 answered on 07 Jan 2014
1 answer
100 views
Hi there,
   After I upgrade my project from 2012.3.1016.40 to  2013.3.1114.40 I receive a javascript error.

JavaScript runtime error: Unable to get property 'getElementsByTagName' of undefined or null reference

   This occurs with the call _updateFilterControlValue.  Below is the code we use to filter the grid.  It doesn't seem to matter if it's Firefox, IE, or Chrome.  The error still occurs.

       

var filterExpression = new Telerik.Web.UI.GridFilterExpression();

var filterFunction = Telerik.Web.UI.GridFilterFunction.EqualTo;

filterExpression.set_fieldName("iExpertID");

filterExpression.set_fieldValue(iExpertID);

filterExpression.set_filterFunction(filterFunction);

filterExpression.set_columnUniqueName("iExpertID");

grid.get_masterTableView()._updateFilterControlValue(iExpertID, "iExpertID", filterFunction);

grid.get_masterTableView()._filterExpressions.clear();

grid.get_masterTableView()._filterExpressions.add(filterExpression);

grid.get_masterTableView().set_pageSize(10);

grid.get_masterTableView().rebind();

 

 

 

 

Milena
Telerik team
 answered on 07 Jan 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?