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

I have a drop down list inside the radgrid and the button outside the radgrid. Also I have asp.net update panel for making the cursor busy while processing. when I changed the drop down value in less than 2 drop down everything works fine and it update the gradgrid after processing complete.  But when I change the 3 or more dropdown list value, I am getting error message like

 

 Unhandled exception at line 15, column 16485 in http://localhost:85124/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScriptsJavaScript runtime error: ....

Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.   etc   kind of error message. ​

 

Can you please provide suggestion how can I fixed this issue?

 

Thanks in advance

Eyup
Telerik team
 answered on 10 Apr 2015
1 answer
139 views

Hello,

I was running into problems with too much text being displayed in certain columns within my grid. In ItemDataBound() I used the text.substring method (C#) to shorten the data to appropriate length. This was done similar to the directions provided in this post:

 http://www.telerik.com/forums/limit-amount-of-text-shown-in-data-column

Meanwhile I have implemented the Grid Excel export functionality. Unfortunately, my data within the Excel export is incomplete because it is being shortened to fit my columns. 

 

How can I limit the amount of text shown in a column, but still export all data when using the Excel export functionality?

 

Thanks,
Matt

 

Eyup
Telerik team
 answered on 10 Apr 2015
1 answer
250 views

Hello guys,

1 - How to maintain the scroll position when expand a node in the RadDropDownTree? when the tree has a lot of parents node ?

2 - How to maintain the scroll position when re-open the tree list when has a node selected? In this case are allowed only one select items

Dimitar
Telerik team
 answered on 10 Apr 2015
3 answers
58 views

Hello

Any hints on how to solve this in javascript ?

 I need radcombo to show normal selecttext list when open, but a different selecttext when closed.

 ex. Items a,b,c    

  when "b" selected and radcombo closes i should show "mytext"

 

any clues would be appreciated.

 

regards

Mark

 

 

Plamen
Telerik team
 answered on 10 Apr 2015
1 answer
82 views

I have a radPanelBar that is is bound to an SqlDataSource. Normally I would use findcontrol in the OnItemDataBound event to access the controls in the template as follows:

 

Private Sub rpbVehicles_ItemDataBound(sender As Object, e As RadPanelBarEventArgs) Handles rpbVehicles.ItemDataBound
 
       Dim imgThumb As Image = e.Item.FindControl("imgThumb")
 
End Sub

But apparently ItemDataBound is too early in the cycle to access controls as findcontrol always returns Nothing.

I can access the controls in the ItemCreated event, but how do I access the DataItems there?

I want to do something like:

Private Sub rpbVehicles_ItemCreated(sender As Object, e As RadPanelBarEventArgs) Handles rpbVehicles.ItemCreated
 
Dim vehicleID As Integer = e.Item.DataItem("ItemID")
Dim cbShow As CheckBox = e.Item.FindControl("cbShow")
cbShow.Attributes.Add("VehicleID", vehicleID.ToString)
 
End Sub

 

How do I access the DataItems?

 

Thanks

 

Charles

 

Ivan Danchev
Telerik team
 answered on 10 Apr 2015
1 answer
261 views

Hi, 

I have an AutoGenerate delete link in my aspx page.  

AutoGenerateDeleteColumn="True"

Currently, when the use clicks on the delete button, the record is deleted without any warning or confirmation. How can I ask the user if they are sure of the deleting the record or not? After confirmation only the record should be deleted. I am currently deleting the records from the DeleteCommand event in the code behind. 

I saw a thread about the same issue, but I am not able to understand, how can I set the ConfirmText property for the AutoGenerateDeleteColumn. Can anyone help me with addition of this feature without requiring to change my current set up. Thanks..

Pavlina
Telerik team
 answered on 10 Apr 2015
1 answer
114 views

Hi there,

I am trying to implement getting data for the Scheduler (Q1 2014) via a Web Service.

I have followed the instructions and created a new class derived from SchedulerInfo.

 

My aspx contains the following: <telerik:RadScheduler ID="RadScheduler1" runat="server" OnAppointmentsPopulating="RadScheduler1_AppointmentsPopulating" OnResourcesPopulating="RadScheduler1_ResourcesPopulating">
            <WebServiceSettings Path="SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" />
  
        </telerik:RadScheduler>

 

I can add custom values to this in the server side code using

protected void RadScheduler1_ResourcesPopulating(object sender, Telerik.Web.UI.ResourcesPopulatingEventArgs e)

 so I seem to be on the right course.

 

However, when I try to do the same for the AppointmentsPopulating event, this is never fired.

 

 

 

Have I done something obviously wrong?

Bozhidar
Telerik team
 answered on 10 Apr 2015
2 answers
165 views

Hi All

 I have a question that might be easy to answer, but since I'm new to Telerik, I can't figure out the answer

my situation is like this

I have a RADGRID on a Webform , I changed the Columns backcolor at design time

 and i have to change some cells backcolor programatically according to certain condition 'i.e I change the color of a cell if it has negative value '

 my Problem is

 when i export the RADGRID to Excel with the EXPORT To Excel button of the Commanditem,

i get an excel sheet with the same colors for the columns as they are in the RADGRID

but the programatically changed backcolor for the negative cells are not exported

 it have no backcolor in the produced Excel sheet

 Although I welcome any solution whether C# or VB , I'll be grateful if you provide a solution in VB.NET

 Your Prompt response is highly appreciated

Regards

 

Eyup
Telerik team
 answered on 10 Apr 2015
7 answers
529 views
Hi,

I set a textbox to be focussed from server side inside the IsPostBack event as txtUserName.Focus(). Once the page gets rendered completely my focus is retained in that control but the empty mesage in that textbox is still there. My empty message is still there as normal text so once if i start typing the text also the empty message is still there like this,
If my empty message is like "Enter user name" and if i start typing it is like "adminEnter user name".

Rest of the textbox in the page is working as per functionality but only if i set focus to a textbox that textbox alone looses the style,,,

Any help......
Eyup
Telerik team
 answered on 10 Apr 2015
5 answers
1.6K+ views
Hi,

I want initilize text of my Rad Grid on the OnInit(EventArgs e) method. How set, for example, the text and HeaderText of this GridButtonColumn ?

<telerik:RadGrid runat="server" ID="grid1"  ....>
                <MasterTableView DataKeyNames="Id1" ....>
                    <Columns>
                        <telerik:GridButtonColumn CommandName="Edit" ButtonType="ImageButton" Text="Modifier" HeaderText="Edit" UniqueName="EditColumn"></telerik:GridButtonColumn>
...
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>

Thanks
Eyup
Telerik team
 answered on 10 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?