or
| class GroupTopicTemplate : ITemplate |
| { |
| public void InstantiateIn(Control container) |
| { |
| HtmlGenericControl div = new HtmlGenericControl("div"); |
| CheckBox chkSelected = new CheckBox(); |
| chkSelected.ID = "chkSelected"; |
| int rowNumber = int.Parse(container.Parent.ClientID.Substring(container.Parent.ClientID.Length - 1)) + 1; |
| chkSelected.Attributes.Add("onclick", "onCheckBoxClick(" + rowNumber.ToString() + ")"); |
| div.Controls.Add(chkSelected); |
| Label lblName = new Label(); |
| lblName.Text = "Text"; |
| lblName.DataBinding += new EventHandler(lblName_DataBinding); |
| lblName.ID = "lblName"; |
| container.Controls.Add(div); |
| } |
| void lblName_DataBinding(object sender, EventArgs e) |
| { |
| Label target = (Label)sender; |
| RadComboBoxItem item = (RadComboBoxItem)target.BindingContainer; |
| string itemText = (string)DataBinder.Eval(item, "Text"); |
| target.Text = itemText; |
| } |
| } |
| RadComboBox rcGroupTopics = new RadComboBox(); |
| rcGroupTopics.ID = "rcGroupTopics" + rowString; |
| rcGroupTopics.EmptyMessage = "None"; |
| rcGroupTopics.HighlightTemplatedItems = true; |
| rcGroupTopics.AllowCustomText = true; |
| rcGroupTopics.Skin = "WebBlue"; |
| rcGroupTopics.ItemTemplate = new GroupTopicTemplate(); |
| td.Controls.Add(rcGroupTopics); |
| DataView dv = new DataView(dt); |
| dv.Sort = "name"; |
| TopicDropDownList.DataSource = dv; |
| TopicDropDownList.DataTextField = "name"; |
| TopicDropDownList.DataValueField = "tagname"; |
| TopicDropDownList.DataBind() |
This text should not centre
This text should centre
2) Highlight "This text should centre"
3) Click the text centre tool
In Chrome it behaves as expected and centre's "This text should centre" but not "This text should not centre". However, in IE bot lines are centered.
Any suggestions?


RadGrid1.MasterTableView.ExportToPdf();
But it does not work (File Open-Save dialogue box is not displayed.)
When we debugged, we can see that control goes to above statement.
When button is placed outside ScriptManager, it works(it shows file open-save box).
Do we need to make any changes in the behaviour of RadAjaxManager to achieve this? Kindly help.

-> Validation-IsRequired="true"