Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
250 views

I'm using RadGrid for an application.

The rendered grid has filters on top of each column.  When I supply a value and select any filter from the dropdown (e.g. contains, Begins with, etc) the form posts back to the server.

I'm trying to determine the event handler for this postback.

Please advise.

 Thank you,

Tim Inouye

Eyup
Telerik team
 answered on 11 Jun 2015
6 answers
1.4K+ views

Hello,

 

I have a RadGrid that is displayed inside another RadGrid through NestedViewTemplate. This RadGrid contains auto generated columns, and one GridTemplateColumn that I have added to calculate the sum of two auto generated columns. I would like to change the location of this column, currently it shows as the first column in the RadGrid.

 

This is what the RadGrid looks like:

<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="false" Width="100%"
    AllowFilteringByColumn="true" AllowSorting="true" EnableHeaderContextMenu="true" EnableLinqExpressions="false"
    EnableHeaderContextFilterMenu="true" Skin="Windows7" ShowFooter="true" OnItemDataBound="RadGrid1_ItemDataBound"
    OnNeedDataSource="RadGrid1_NeedDataSource" OnPreRender="RadGrid1_PreRender" OnColumnCreated="RadGrid1_ColumnCreated" >
    <MasterTableView EnableNoRecordsTemplate="true" ShowHeadersWhenNoRecords="true" AutoGenerateColumns="true" IsFilterItemExpanded="false" AllowFilteringByColumn="true" TableLayout="Auto">
    <NoRecordsTemplate>
        <div style="width:100%;text-align:center;">
            No are no records to display!
        </div>
    </NoRecordsTemplate>
    <Columns>
        <telerik:GridTemplateColumn UniqueName="Total" HeaderText="Total" SortExpression="Total">
                                                        
        </telerik:GridTemplateColumn>
    </Columns>
    <FooterStyle Font-Bold="true" Font-Size="Large" />
    </MasterTableView>
</telerik:RadGrid>

 

And the PreRender contains:

(sender as RadGrid).MasterTableView.GetColumn("Total").OrderIndex = 2;

 

But it still is being displayed as first.

Maria Ilieva
Telerik team
 answered on 11 Jun 2015
3 answers
92 views

Hi,

 I have a four page tabstrip and radmultipage with a radgrid on each page.

 I have a user control with an export button in it.

Ajax is turned off for that button.

On the initial page load, the grid does export to excel. But click on the second tab, and the export does not work.  Click on the first initial tab, and the export does not work there.  Debugging shows that the export button in my uc fires off the function with the grid.MasterTableView.ExportToExcel() call.  But the function named in the OnGridExporting RadGrid control does not fire.

 

Any insight would be greatly appreciated!

-John

Kostadin
Telerik team
 answered on 11 Jun 2015
1 answer
153 views

I'm facing 2 issues while using the RadProgressArea :

Firstly, I have a RadAsyncUpload on my page through which I am uploading files and displaying the uploaded files on the same page in a RadGrid. Each line item in the RadGrid is a downloadable file which gets downloaded on click of the link. Now, the problem which I'm facing is, whenever I click on a particular file for download, the RadProgressArea shows up and doensn't go away until I refresh the page. There is no progress indicated in the Progress Area as well.

Even if I'm hiding the Progress Area using Javascript function, it doesn't help as still the Progress Area appears.

 

Secondly, I'm facing a compatibility issue, being the functionality of the Progress Area works best in IE 10,11 and Chrome but not in IE 9, 9(Compatibility Mode).

Whenever I cancel an upload using the RadAsyncUpload - 'Cancel' Button(Runtime Button) while a file is getting uploaded, the ProgressArea still stays on the screen, though the upload is stopped. This happens only in the case of IE9 but not in IE10,11 and Chrome.

Pls. help me sort these appearance issues.

 

 

 

Ivan Danchev
Telerik team
 answered on 11 Jun 2015
6 answers
337 views

do you have an example of radpagelayout in a repeater control?  The Master page is using PageLayout as well.

Thanks, Marty

Peter Filipov
Telerik team
 answered on 11 Jun 2015
6 answers
269 views

Hi,

I am using RadCaptcha in sharepoint 2013.

I used the following code in the ascx WP:

<div class="divCaptcha">         
    <telerik:RadCaptcha ID="RadCaptcha1" runat="server" ValidatedTextBoxID="rcTextBox1" EnableRefreshImage="true"  >
        <CaptchaImage EnableCaptchaAudio="true" RenderImageOnly="true"  BackgroundNoise="Low"></CaptchaImage>
    </telerik:RadCaptcha>

    <div style="float:left">
    <p >Type the code from the image:</p>           
    <asp:TextBox ID="rcTextBox1" runat="server" MaxLength="5" Width="170px"></asp:TextBox>&nbsp;&nbsp;&nbsp;
    <input type="button" title="submit" onclick="CallHandler();" value="submit">
            </div>  
</div>

 
And I define the following in the web.config of the
sharepoint:

   <httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2015.1.401.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false" />
</httpHandlers>

 <handlers>
<remove name="Telerik_Web_UI_WebResource_axd"/>
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2015.1.401.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" preCondition="integratedMode" />
</handlers>

 

I click the link to generate new image – nothing happen.

Can you help me?

Slav
Telerik team
 answered on 11 Jun 2015
0 answers
117 views

Hello,

I have been getting Unresponsive Script Error in browser (most often in FF) while executing any request to server. We have used "telerik:RadScriptManager" and "RadAjaxLoadingPanel" in all webpages. Below error occurs randomly and it hangs up the browser.

Error message : "a script on this page may be busy or stopped responding...."

Please find attached screen shot for the same error. It suggests that error is coming from "Telerik.Web.UI.WebResource.axd?_TSM_HiddenFeild_=RadScriptManager1&..."

 

I have been facing this issue recently (without any code change), Please help.

 

Thanks in advance,

Jalak

Jalak
Top achievements
Rank 1
 asked on 11 Jun 2015
2 answers
147 views
Hi,

Is it possible to handle any event if I lose internet connection during uploading of large file?
Uploading freezes if I lost internet connection even for few seconds and doesn't try to reconnect.
OnClientFileUploadFailed event isn't fired in this case.
It would be nice to continue uploading if I repair my internet connection, or at least to show some error.

Best regards,
Dennis
Sangamesh
Top achievements
Rank 1
 answered on 11 Jun 2015
1 answer
97 views

Hi 

I have two datapicker controls datapicker1 & datepicker2.

once I set the date for datepicker1 i have to assign the same date to datepicker2. but here i can not fill the input text. it should show as empty. i have to give user to fill  the date but the datepicker2 calendar should be open as the first datepicker1 date stamp.

example. datepickert1 date : 05-Jun-2010   then

when i click the daterpicker2 calendar icon i should able to open the 05-Jun-2010 and in the input box should be empty until user choose the date from the datepicker2 calender.

how can i achieve this. please respond asap its quiet urgent.

Thx

Eyup
Telerik team
 answered on 11 Jun 2015
1 answer
195 views

I'd like to display the first 30 or so characters of an nvarchar(max) field in my radgrid along with a "Read More ..." type link to display the rest of the datafield.

I'd like the link to either expand the rest of the column to a max width of a few hundred pixels or use javascript to put the data into a window of some sort.

Has anyone done with this before?  If so, please point me the right direction.  Thanks much.

Pavlina
Telerik team
 answered on 11 Jun 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?