Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
63 views
How can i make the child item have transparent background when it is drop down?

Can anyone show to way to do it?

I have try to set the css

.rmItem
{
    background:transparent;
}

but it din't show any effect.
Schlurk
Top achievements
Rank 2
 answered on 28 Oct 2009
10 answers
305 views
I am trying to set the focus on a field in my PopUp edit form template using the below example from the documentation. The problem is that MyUserControl is equal to Nothing since it seems that "EditFormControl" is not being found in e.Item.FindControl(GridEditFormItem.EditFormUserControlID).

Anyone have an idea of why Dim MyUserControl As UserControl = e.Item.FindControl(GridEditFormItem.EditFormUserControlID) is not being found?


Protected Sub RadGrid1_ItemCreated(sender As Object, e As Telerik.Web.UI.GridItemEventArgs)
   If TypeOf e.Item Is GridEditFormItem And e.Item.IsInEditMode Then
      Dim MyUserControl As UserControl = e.Item.FindControl(GridEditFormItem.EditFormUserControlID) 
      RadGrid1.Controls.Add( New LiteralControl(String.Format( "<script type='text/javascript'>document.getElementById('{0}').focus();document.getElementById('{0}').select();</script>", MyUserControl.FindControl("txtFirstName").ClientID)))
   End If
End Sub

Wyatt
Top achievements
Rank 1
 answered on 28 Oct 2009
6 answers
182 views

Hi there,

I'm testing ASP.NET AJAX UI Controls and specially the DatePicker.  I have two Date Pickers in a web user control. Then I have a content page onto which I place the aforementioned web user control. As you might guess this last content page has its master page. So the hierarchy is as follows

master page
   content page
      web user control (this one has the 2 date pickers)

Question:
Why when I want to access my web page, I see both date pickers rendered but as soon as I clic on the date icon a JavaScript error shows in the left-lower browser's corner. I've been investigating the reason for this with no success :-(..

Please if some one could shed some light on this (show some code example).
Felix

Felix Ruben Melendez Batres
Top achievements
Rank 1
 answered on 28 Oct 2009
2 answers
134 views
I need to set the width of the hours column.  When I use any Skin the hours are chopped in half vertically.

It's the column that gets displayed if you have ShowHoursColumn set to true.

Thanks.
Piotr
Top achievements
Rank 1
 answered on 28 Oct 2009
3 answers
108 views
Hi,

I am having issues on a custom user control.  It ONLY occurs on machines with Windows Vista and works fine on machines with Windows XP.  There are 2 issues I am facing

1.  When the mouse hover on any RadMenu, the menu gets highlighted.  For instance, the user control has 5 menu items, as I'm moving the mouse over to each one, all five get highlighted.  The same behavior with Radtabstrip as well. 
2.  On the RadGridView, when I click on any rows after the grid is loaded, the row selected does not get highlighted, there's no background color, the only thing shown was a box with color border without background color filled.  However, when the grid first loaded, the grid shows first row selected and highlighted correctly.

I also have another issue, this one is not Windows operating system specific and also on an user control.  Radmenu does not close properly.  For instance, my menu has 5 menu items, when I click on the memu, all 5 menu items appears.  However, if I click on anywhere else on the screen, the menu does not close itself.  The only way it would close is to click on the menu itself again.

Please let me know what needs to be done to resolve these issues.

Thanks


Martin Vasilev
Telerik team
 answered on 28 Oct 2009
3 answers
107 views
Good evening,

I am having a challenge with getting the ExportToExcel() to return all the data in my grid to excel.  It works fine in the sense that it grabs the current page of data for download, but that is it. It doesn't bring down everything even by setting the properties as outlined in the Telerik documentation: 

The background:
-The grid is populated via AJAX using the RadAjaxManager.
-The properties are set in this method:

 

public void ConfigureExport()

 

{

radgridActive.ExportSettings.ExportOnlyData =

true;

 

radgridActive.ExportSettings.IgnorePaging =

true;

 

 

this.radgridActive.ExportSettings.FileName = "ActiveReport";

 

}

I even went as far as reading this thread and following this example:  http://www.telerik.com/help/aspnet-ajax/grdexportwithajax.html
Here is a sample of the code I used to follow this example.

 

<

 

telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

 

 

 

 

 

 

<script type="text/javascript">

 

 

function mngRequestStarted(ajaxManager, eventArgs)

 

{

 

if (eventArgs.get_eventTarget().indexOf("btnExport") != -1)

 

eventArgs.set_enableAjax(

false);

 

}

 

 

</script>

 

 

</telerik:RadCodeBlock>

........

 

<

 

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" ClientEvents-OnRequestStart="mngRequestStarted">
.....
Where "btnExport" is the control that initiates the Export.
No Luck Here either.  I am at a loss where to go from here. I'd be happy to supply any information to you that you may need further.

Thank you.

 

Brandon Camarillo
Top achievements
Rank 1
 answered on 28 Oct 2009
1 answer
82 views
The solutions here do not work when using Popup EditMode and a Template EditForm.

The ItemCreated solution returns nothing for the EditFormUserControl.  If one changes the code so that the textbox to be focused is found, the inserted javascript seems to cause an endless loop.

The ItemDataBound solution finds an empty grid cell instead of the textbox to be focused.
Pavlina
Telerik team
 answered on 28 Oct 2009
1 answer
137 views

Hello, I have the following issue: I have a list of users (combobox) and I want to load RadFileExplorer
depending on user selected from the comboBox. Each user has it's own root folder.

I want to attache the test project (VS studio 2008, c#) and the database (SQL server 2005), but I don't know how.
I have only attached the errors print screen.

 

problems with RadFileExplorer:

1. when I select a diffrent user from the comboBox, the RADFileExplorer does not refresh with the current user data (only if I press f5 and reload the page)

Try to change the user, see what happen, change it again, and finally  press F5. RadFileExplorer display only the root folder for the selected user,
and the entire tree only when i press f5.

2. wher I try to create a new folder I get Error1.jpg

3. the folder is created, but when I click on it I get error2.jpg

4. from now on, I get a lot of javascript errors

Please let me know how to send you the source code and the database.

Thank you

Fiko
Telerik team
 answered on 28 Oct 2009
1 answer
224 views
hi Telerik Guys !!

Could you help me how can I assign the width to the columns that I added on to the GRID CONTEXT MENU of RAD FILE EXPLORER.

Lets say I have three columns named :-

   FILE NAME            SIZE            CREATED DATE                    MODIFEIED DATE

All I want is to assign the same/different width to each column . HOw can I do that ?

Please help !

Ajay
Fiko
Telerik team
 answered on 28 Oct 2009
2 answers
384 views
Is it possible to split a radgrid in 2, when a certain number of items is reached and put 1 the left and the other on the right.
By columns i do NOT mean a column for each datafield of the item in the grid, but all the columns with the data of a griditem:
Basically I'm looking if a RadGrid can do the following:

RadgridTitle:
RadgridItem1 | RadgridItem2
RadgridItem3 | RadgridItem4

Each RadgridItem consists of the usual columns displaying the data of the item.
Sebastian
Telerik team
 answered on 28 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?