

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

| <telerik:RadComboBox ID="RadComboBox1" Runat="server" Skin="Office2007"> |
| </telerik:RadComboBox> |
| 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(); |
| } |
| } |

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.

| .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?

| 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; |
| } |