Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
298 views
I added a modal ajax toolkit window from the master page that can do a search on any page.

After adding, none of my date picker calendars show up.
However, if I open the modal window then close it the calendar pop ups work fine.

I I have tried adjusting the  z index but not luck any ideas on this one please?

Dimo
Telerik team
 answered on 14 Jun 2010
1 answer
182 views
Hi there,

i notice a "glitch" on a page where i have put the width="100%"  of a grid, then resizing the window (see attached image).

perhaps a bug?
Dimo
Telerik team
 answered on 14 Jun 2010
2 answers
852 views
I have a hyperlink column in my radgrid:

<

 

telerik:GridHyperLinkColumn Target="_parent" HeaderText="ID" DataTextField="volunteer_id" DataNavigateUrlFormatString="VolunteerEdit.aspx?Id={0}&amp;type=edit" DataNavigateUrlFields="volunteer_id" UniqueName="volunteer_id"></telerik:GridHyperLinkColumn>

 


I'd like to be able to add more URL parameters to the DataNavigateUrlFormatString at runtime during the ItemDataBound event.  How do I accomplish this?
bdk0172
Top achievements
Rank 1
 answered on 14 Jun 2010
6 answers
191 views
My VS is hanging 5-10 minutes, once some error happens in WebResource.axd. When error happens (I don't say that they are Telerik's bugs) I see immediately the error but after that VS starts to load full WebResource file which takes 5-10 minutes. I have set IE options for debugging to false, but it doesn't help to stop loading this file.

Are there any ideas what else can I do?
James Faw
Top achievements
Rank 1
 answered on 14 Jun 2010
1 answer
118 views
In telerik online sample i have tried to change a text color and then export to RTF.
In the RTF document the color is missing.

How can export the same think in the same manner?.

I'd like to use editor for making a RTF word like Mail Merge using bookmarks, but i need to open and write RTF files.

Thanks in advance
Andrea Del Brocco
Rumen
Telerik team
 answered on 14 Jun 2010
2 answers
266 views
Hi,

I've got a problem with my Comboboxes.
Here is the code I use :

<telerik:RadComboBox ID="RadComboBox1" Runat="server" Skin="Office2007"> 
</telerik:RadComboBox> 

Here is the code behind :

protected void Page_Load(object sender, EventArgs e) 
{ 
   using (CiviliteBLL cBLL = new CiviliteBLL()) 
   { 
      this.RadComboBox1.DataSource = cBLL.GetAll(); 
      this.RadComboBox1.DataTextField = "Designation"; 
      this.RadComboBox1.DataValueField = "CoCivilite"; 
      this.RadComboBox1.DataBind(); 
   } 
} 
The problem occurs when I have the focus on my combobox. I select one item in my combobox. The element is selected, but when I press the Enter key, to validate my form and send my data, the selected changes and then, the last item of the combobox is selected.

Why does it works like this? What can I do to avoid this problem.
I saw that if I add these attributes :  Filter="Contains" MarkFirstMatch="true" ChangeTextOnKeyBoardNavigation="false"
It works well but it's not the behaviour I want for my application because I don't want the client to write anything in the combo.

Thanks in advance


Arambourg
Top achievements
Rank 1
 answered on 14 Jun 2010
3 answers
107 views
Hi,
I have a few problems with the RadEditor.
  1. I need to restrict the text lenght to 100cars for example. But if the user use the Paste button, he can paste text that has a greater size. How can I control that ?
  2. I need to restrict the number of cars per line. How can I do that ?
  3. I need to prevent any user to paste html code as I wan pure text content. How can I do that ?
Thanks a lot.

François
Rumen
Telerik team
 answered on 14 Jun 2010
1 answer
627 views

I have a large text input area where users will query information from a database. I want to restrict input to only alphanumeric keys to help prevent SQL injection. I was using a RadTextBox with the multiline attribute set and I had attached the jQuery script alphanumeric to the field, but it disabled the browser context menu. I decided to give the RadEditor a try since it allows for custom context menus and for a toolbar. The jQuery alphanumeric plugin is very nice and if there is any way to attach the script to the content area of the RadEditor, I would appreciate it. If there is another way to achieve the same effect, let me know. Thanks.

This is the basic syntax for applying the alphanumeric filter to a textbox:

<script type="text/javascript">  
    $('.textbox').alphanumeric({ allow: "_-* " });  
</script> 

Then you would have an element such as a RadTextBox or a plain TextBox and apply '.textbox' to the the CssClass attribute.

Rumen
Telerik team
 answered on 14 Jun 2010
4 answers
182 views
After much cat-herding, I have got my menu so that when you hover over a top-level item, the item changes colors and the sub-menu slides down.

I want to add a left- and right- border to the top-level item as well, but when I try, my left border is in the middle of my item.  I guess some space to the left of my item is getting the background color changed?    I can't figure out how to handle this.    Here is the bit of the .css that changes the color:

.RadMenu_ICR .rmLink:hover .rmText,  
.RadMenu_ICR .rmExpanded  
{  
    background-color: #d5ecf1 !important;  
    font: normal 12px/23px "Segoe UI", Arial, sans-serif;  
    color: #003366;  
} 

 

to get borders, I am adding:

 

 

border-right:1px solid #336699;

 

 

border-left:1px solid #336699;

what else do I need to do?

 

Kamen Bundev
Telerik team
 answered on 14 Jun 2010
1 answer
633 views
I've been at this for hours.

I have a grid with:
 Edit Column
 Delete Column
 Bound Column

I want to export this as Excel.

I get the Bound Column in column C with columns A and B blank. I don't want columns A and B at all.

My last attempt was like this based on http://www.telerik.com/help/aspnet/grid/grdexporttipstricks.html

        protected void IndicationsExport(object sender, EventArgs e) 
        { 
            gridIndications.MasterTableView.Columns.FindByUniqueName("EditColumn").Visible = false; 
            gridIndications.MasterTableView.Columns.FindByUniqueName("DeleteColumn").Visible = false; 
            gridIndications.MasterTableView.ExportToExcel(); 
            gridIndications.MasterTableView.Columns.FindByUniqueName("EditColumn").Visible = true; 
            gridIndications.MasterTableView.Columns.FindByUniqueName("DeleteColumn").Visible = true; 
        } 
 

This too does not work.

Can you tell me how to remove columns from the resulting Excel file?

Remove rows?




Daniel
Telerik team
 answered on 14 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?