Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
171 views
Can anyone suggest a way of scrubbing the comments content created by rad editor without loading the content in Rad Editor and using the built-in Remove All toolbar button? Ideally this would be done server-side on some piece of content.
Elliott
Top achievements
Rank 2
 answered on 22 May 2013
2 answers
104 views
What I'm wondering is if the upload is interrupted by some other occurence, such as the browser crashing when the user is 3/4 the way done, can it be resumed if the user reconnects and tries to upload the file again? My reading of the pause/resume feature seems like it is tied to that instance of the AsyncUpload and so would not be resumable in this scenario; the user would start anew each time. Correct?
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 22 May 2013
2 answers
70 views
Just trying to verify how the upload actually occurs. Our website is using https, so if that's how the user is connected, does the upload also occur over https ?
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 22 May 2013
3 answers
263 views
Hello,

     I am trying to dynamically hide a button that is contained in a nested view contained in each row on a telerik grid.

The grid represents a series of transactions, each with a transaction date. Upon expanding a row on the grid the button should be hidden for that particular row if the transaction date for that row is older than today. If the transaction date for that record is = today, then the button should appear,

I have tried the ItemCommand method, checking for ExpandCollapse event

if (e.CommandName == RadGrid.ExpandCollapseCommandName && !e.Item.Expanded)
 
This gets me the event that is firing for row expand. At this point, however, my data is not bound to the nested view for that row on the grid so I can't involve logic to hide based on a date for this particular row.

I will note that I am setting a series of labels on the nested view for the row - and the transaction date is one of the values. I tried accessing that label's text for my date logic but it is not set at the time of the "Expand" in itemCommand. If I expand, collapse, and expand again the data is there - so there is a timing issue with my data in using itemCommand.

In general which event is preferred to access controls in a Nested View and what methods could I employ to get at the data associated with the nested view? Would a client side approach be easier? 

Nested view settings:
<NestedViewSettings DataSourceID="SqlDataSourceInnerTable">
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="TRAN_ID" MasterKeyField="TRAN_ID" />
                </ParentTableRelation>
 </NestedViewSettings>

Datasource:
<asp:SqlDataSource ID="SqlDataSourceInnerTable"
ConnectionString="<%$ ConnectionStrings:LAWConnectionString %>"
ProviderName="System.Data.SqlClient" SelectCommand="SELECT * FROM TRANS_HIST AS TH INNER JOIN
                         TRANS_TYPE AS TT ON TH.TRANS_TYPE_ID = TT.TRANS_TYPE_ID INNER JOIN
                         TRANS_STATUS ON TH.STATUS_ID = TRANS_STATUS.STATUS_ID LEFT OUTER JOIN
                         TRANS_SUBTYPE ON TH.TRANS_SUBTYPE_ID = TRANS_SUBTYPE.TRANS_SUBTYPE_ID
         WHERE (TH.TRAN_ID = @TRAN_ID)"
runat="server">
        <SelectParameters>

Ulonda
Top achievements
Rank 1
 answered on 22 May 2013
9 answers
281 views

I have two web front end servers configured with Load Balancer and one application server outside the load balancer configuration , and although I configured the machine key on both servers in the web config with the same values as you see in the below:

<machineKey validationKey="AEDAB4B755EB987CBBB4C56EA861BD8A6D2DF4425A9FB7F8" decryptionKey="96A44D2D02FEBBEF8E1FC94DBE4820AC67AEB8BA95DB9C53" validation="SHA1" />

WebResources references are different as you see in the below:

Web front end 1

<link href="/WebResource.axd?d=EUJeeKSuEHqtpWqYXKVDjXJwZS7qQrsjgWJPMkRyIcYidNaMCqJlrJfAZm184B8RJVb1d3QvRziOvCOXxIbf3b-svaG69jUCbEVxwomMUDQ_oerenUHELlXDkKGilSlk0&amp;t=634183493748290221" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

Web front end 2

<link href="/WebResource.axd?d=TFV8V9QizTHQudTQT7Dl7QlzBUw0G7zm7h08wDFQ_UzipCD3e-UfPbUM_K99qXB2tXDFm-IsNhtDmJRjcry3StO61iot2FcGK7_7XrsDCngKWEvSyBafv6D598hVEKY0LXNXFO8k-WFPbcklJ7FhAo0nSvrBXMyffRQN283jgYoatDQV0&amp;t=634509229928059050" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

 

Application server

<link href="/WebResource.axd?d=EUJeeKSuEHqtpWqYXKVDjXJwZS7qQrsjgWJPMkRyIcYidNaMCqJlrJfAZm184B8RJVb1d3QvRziOvCOXxIbf3b-svaG69jUCbEVxwomMUDQ_oerenUHELlXDkKGilSlk0&amp;t=634183493748290221" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />

So I need to know why in the web front end 2 the web resources url refrences is different because it produce errors when redirect from one server to the other.

Peter Filipov
Telerik team
 answered on 22 May 2013
1 answer
47 views
Hi,

Setting OnReordered="true" is causing postback even when no reordering of the tabs is done.  It's causing postback when clicking on tabs to select which is not desired.  Is there anyway to workaround?

Thanks,
Kern.
Nencho
Telerik team
 answered on 22 May 2013
10 answers
874 views
I recently upgrade to the newest version of telerik and now all of the width attributes in my radtextbox's are not working. Essentially setting all of my textboxes at a default ~150px. I am using a custom theme. Can anyone suggest a fix. 

I found this after posting - http://www.telerik.com/community/forums/aspnet-ajax/input/radtextbox-width-not-working-after-upgrade.aspx


downgrading does not seem to help 
Galin
Telerik team
 answered on 22 May 2013
1 answer
101 views
I am using the code in:

http://www.telerik.com/help/aspnet-ajax/grid-export-with-ajax-enabled.html

to prevent a toolbar button in an ajaxified grid from causing an ajax update in order to ExportToExcel. It seems to be working fine, but I have found that, upon clicking this button, the grid's loading image in the lower left hand corner is still displayed and never goes away. How can I prevent this from showing when args.set_enableAjax(false)?
Andrey
Telerik team
 answered on 22 May 2013
2 answers
117 views
I have data that requires views to properly pull the correct updated columns from various tables. So a user can update on one webpage a Column for "EstimatedCompletionDate" of a task. Another page has this same date but it applies to a different task. So the easiest way to get the right data into the right grid is to utilize views. I'd like to use the Entity Framework DataSource but I'm not sure how to execute the stored procedure call?

Is there an example of how to do this?

I'm using Rad Controls for ASP.NET AJAX version 2013.1.220.

Thanks
Julian
Top achievements
Rank 1
 answered on 22 May 2013
7 answers
133 views
Hi Telerik and the community ! I'm french dev so sorry for my english .. i've got a problem with a scenario. I try to cancel by javascript the indexchanging on my radlistbox. When i set_cancel(true) my action seems to be canceled but the previous index is not selected and no one of my listitems are selected. After that I can't selected no items.

I hope my explanations are good ... So for exemple my first index is selected, I click on my second inex and I set_cancel(true) and I would like to keep my first item selected.

My radkustbix (populate in pageload for my test)
<telerik:RadListBox runat="server" ID="ListBoxFile" Height="100px" OnClientSelectedIndexChanging="onClientSelectedIndexChangingHandler"
SelectionMode="Multiple" AutoPostBack="false">
</telerik:RadListBox>

My JS script
function onClientSelectedIndexChangingHandler(sender, e)
{
       if(ok)
        {
           do something
         }
         else
          {
           e.set_cancel(true);
          }
 }

I searched since yesterday ... I found not solution for the moment. Hope you can help me. I would like to cancel and keep my previous index selected. I tried to re-set my index with set_selected but I created a loop and indexchanging is recall again and again ..

Thank

Roms
Romain
Top achievements
Rank 1
 answered on 22 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?