Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
163 views
Hi,

I'd like to populate a multicolumn combobox from a datatable, however the examples only seem to show how to do this using the SessionDataSource item. How would I do this with just  simple datatable?

Cheers,
Christian
Christian
Top achievements
Rank 1
 answered on 23 Jan 2012
2 answers
147 views
Greetings,
I have a RadChart control, this is basically just bars, but i need to open a RadWindow when i click on a specific bar
Is this possible?
Thank you in advance
Richard
Top achievements
Rank 1
 answered on 23 Jan 2012
3 answers
215 views
Hi,

Does anybody has an example on how to convert from the asp.net Toolkit ModalPopupExtender to the RadWindow control?
Basically I have this code:

<asp:Button runat="server" ID="hiddenTargetControlForModalPopup" style="display:none"/>

<ajaxToolkit:ModalPopupExtender ID="ModalPopupExtenderAddEditSample" runat="server"                
				TargetControlID="hiddenTargetControlForModalPopup"                
				PopupControlID="PanelSamples"
				BackgroundCssClass="modalBackground"                 
				DropShadow="true"                                
				>
				</ajaxToolkit:ModalPopupExtender>       
		<!-- modal popup -->
		<asp:Panel ID="PanelSamples" runat="server" Style="displaynone" CssClass="modalPopup"> 
			<asp:UpdatePanel ID="UpdatePanel1" runat="server">                
				<ContentTemplate>
				<!-- a bunch of controls and HTML -->
				</ContentTemplate>            
			</asp:UpdatePanel>
		</asp:Panel>
Is there an easy way to covert this code to a RadWindow? Thanks!
Marin Bratanov
Telerik team
 answered on 23 Jan 2012
4 answers
157 views
What is says.  It's not happening under all circumstances, but when I add a new node and then immediately go to add a child of that it fires the event exactly 4 times for one click.

Of course this causes problems.  I've tried ignoring the extra calls, but it causes a problem because it still interrupts the startEdit() process which it depends on to then connect to the code behind.
Marbry
Top achievements
Rank 1
 answered on 23 Jan 2012
1 answer
48 views
Hi,

I am having a page called employee.aspx. from this page i am opening another page called employeedetails.aspx in the RADWINDOW.

i am performing continues operations in the employeedetails.aspx in the RADWINDOW.  

After that i am minimizing the RADWINDOW, and try to perform operations in the employee.aspx page, now the employee.aspx get refreshed and is not performing the initiated operations.

Can you please provide solution for this?

Thanks in advance. 

Marin Bratanov
Telerik team
 answered on 23 Jan 2012
6 answers
176 views
Have any property in radgrid to freeze the popup  with editing??? 

help me plz
Prava kafle
Top achievements
Rank 1
 answered on 23 Jan 2012
16 answers
451 views
hello i need to change the background color of my rad tooltip can anyone helps me please
i tried to put the name of the color insite the property but it didn t work

here is my code
ItemTemplate >
                <asp:HyperLink ID="HyperLink1" runat="server" Width="10px" Height="50px"
                   >
                   <asp:Image ID="Image2" runat="server" Width="90px" Height="120px" ImageUrl='<%# Eval("imgFile") %>'  ToolTip="Show album"    RelativeTo="Element" Position="MiddleRight" EnableShadow="true"/> </asp:HyperLink>
                <telerik:RadToolTip ID="RadToolTip3" runat="server" TargetControlID="image2"
                    Animation="Slide" BackColor="Red"  Position="MiddleRight">
                </telerik:RadToolTip>
            </ItemTemplate>
Bozhidar
Telerik team
 answered on 23 Jan 2012
2 answers
103 views
The following piece of code is used to increase bullet number size along with content.
function OnClientCommandExecuting(editor, args) {
 
    var commandName = args.get_commandName();
 
    if (commandName == "RealFontSize" || commandName == "FontSize") {
        var selElem = editor.getSelectedElement(); //get the selected element
 
        var parentElem = selElem.parentNode;
 
        if (selElem.tagName == "LI" || selElem.tagName == "UL") {
            selElem.style.fontSize = _fontSizesPx[parseInt(args.get_value() - 1)];
            args.set_cancel(true);
        }
    }
}

Like follows, the font size of bullet number increased along with content. Please the attachment Output1

  
  1. One
  2. Two
  3. Third
  4. Four

I tried to apply the font size for overall content, but the font sized is applied only for the content and not for bullet/number.Refer the attachment Output2

Suggest how to fix this issue?

Rumen
Telerik team
 answered on 23 Jan 2012
3 answers
282 views
Hi,

I have used checkbox control inside gridtemplatecolumn of radgrid. I have used needdatasource for data binding. When i click on remove button on my page after selecting(checked) some grid row then checked status is lost after post back and no delete is performed.
Because needdatasource is called before Remove button's eventhandler.

Please suggest solution for this.

Regards,
Abhishek Dixit
Andrey
Telerik team
 answered on 23 Jan 2012
4 answers
58 views
I have been stuck with this problem for last couple of days , i have a rad grid it has a master table and a detail table ,there is a custom edit /insert form in the detail table , all the data entries in the detail table will occur through this form the form has some controls and a rad upload control , i have to implement required field validation on the rad upload control which is in the form tempelate , i have read the articles on your site explaining the use of custom validators to achieve the task , but here is the rub , when on server validation event i traverse through the grid it is returning all rows of the detail table but it is not returning the grid edit form item , as i have mentioned the rad upload is in the form item

here is the code that i have used on server validation event

    protected void Validatecustom(object source, ServerValidateEventArgs e)
        {
            e.IsValid = true;
           // List<GridDataItem> obj = rgridPersonalAssistant.MasterTableView.DetailTables[0].Items;


            
            foreach (GridDataItem masterrow in rgridPersonalAssistant.MasterTableView.Items)
            {
                List<GridTableView> cb = masterrow.ChildItem.NestedTableViews.Cast<GridTableView>().ToList();
                //rgridPersonalAssistant.e
                
                 
                //views[0].items
               
                foreach (var c in masterrow.ChildItem.NestedTableViews[0].Items)
                {

                    if (c is GridDataItem)
                    {
                        GridDataItem cc = c as GridDataItem;
                    }
                    if (c is GridEditFormItem)
                    {
                       // GridEditFormItem obj = c as GridEditFormItem;
                        GridEditableItem obj = c as GridEditableItem;
                       
                        foreach(TableCell cll in obj.Cells)
                        {
                            string s = cll.Text;
                        }
                        RadUpload objupload = (RadUpload)obj.FindControl("rfScannedDocument");
                        if (objupload != null)
                        {
                            int b = objupload.UploadedFiles.Count;
                            if (b == 0)
                            {
                                e.IsValid = false;
                            }

                        }



                    }


                }
            }

            




                   
Arsalan
Top achievements
Rank 1
 answered on 23 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?