Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
855 views
Hi there,

This is my first using on Telerik control and also the style builder.
please refer to my attached image file, after I clicked/selected a menu from RadMenu control, the background became white color.
May i know how to change this?
i've searched through and played around the style builder, but the white background still there right after i clicked on it.
please help.

thanks.
Kamen Bundev
Telerik team
 answered on 11 Jun 2010
1 answer
81 views
Hi,

I would like to make it so that when a user drags and drops a node they can only drop that node above or below other nodes, and not on top.  Basically, I want them to be able to only reorder the nodes using drag & drop and not modify the hierarchy of the TreeView.

I know I can achieve this functionality using the OnClientNodeDropping event, but it is very tedious for the user because the area to drop a node above or below another node is only a few pixels high.  I want the dragging and dropping to work like it does with a RadListBox: there is always an arrow showing where the item will be dropped, even if the item you are dragging is directly on top of the destination item.

What is the easiest way to achieve this?

Thank you for your help.
T. Tsonev
Telerik team
 answered on 11 Jun 2010
9 answers
573 views

Hi there,

I searched the CHM but I wasn't able to find the answer.  Is it possible to build a filter using this control and save it in a database?  We have a need to build a filter which is read by a database job for other processing.  The saved filter all needs to be retrieved and displayed so users can modify the filter.  Is this possible?

Regards,
Joseph


Mandy
Top achievements
Rank 2
 answered on 11 Jun 2010
1 answer
112 views
1.  Page uses LinqDataSource to bind grid on the aspx page.
2.  Grid uses Paging (variable size depending on what the user has selected from dropdown).
3.  User inserts new records via USER CONTROL.
4.  Once record inserted, I need to select that record in the grid to display the details.

I am using a linqToSQL linqdatasource webcontrol on my page.
The grid binds to this control to populate the data.
I use a User Control to Update and Add new records to the database.  
  <EditFormSettings UserControlName="SiteDetails.ascx" EditFormType="WebUserControl">
            </EditFormSettings>

Now I need to allow the user to insert a new record.  
Save the record then have the radGrid select that record.  
We use paging also. I have looked at several of the examples, they all tend to use a datasource in the code behind and bind the grid to that -- We do this via the linqdatasource web control  




Yavor
Telerik team
 answered on 11 Jun 2010
1 answer
113 views
Hi,
RadCombobox OnDemand causes autopostback. (Because of RadAjaxPanel captcha not refresh). On submit captcha isValid returns wrong value(when autopostback disabled everythging is OK).  .Validate() on server side not change IsValid property. What should i do?
Henna
Top achievements
Rank 1
 answered on 11 Jun 2010
1 answer
64 views
Hi.

I'm wondering if it´s possible to group items in the radrotator two at a time.
For example:

<<            Image1 | Image 2           Image 3 | Image 4           Image 5 | Image 6    >>


Can I set the rrItem width for every other item somehow?

Thx in advance
//Ylva
Princy
Top achievements
Rank 2
 answered on 11 Jun 2010
1 answer
95 views
Hello guys.

I saw some post about radupload validation in grid, but is server-side. I'm trying to use this tip:

http://www.telerik.com/help/aspnet-ajax/upload_raduploadclientsidevalidation.html

but, when I put in my code the javascript:

<script type="text/javascript"
 function validateRadUpload1(source, arguments) 
 { 
  arguments.IsValid = $find("<%= MyUploadControl.ClientID %>").validateExtensions(); 
 } 
</script > 

I got an error:

The name 'MyUploadControl' does not exist in the current context





Note:
The RadUpload is inside a grid;
The page is inside a masterpage;

I have tried with the complete name of control, like: ContentPlaceHolder1_RadGrid1_ctl00_ctl05_MyUploadControl

but I got the same error.

What's the best way to use this kind of validation?

Best regards.

[[|]]'s




Princy
Top achievements
Rank 2
 answered on 11 Jun 2010
3 answers
127 views
hi,

  i have a populated grid on a web page. and a server side button. clicking on this button, i want to find out what columns have been used in the grouping.

  i've tried this :

        protected void Button1_Click(object sender, EventArgs e)  
        {              
            foreach (GroupItemCell oCell in grdPendingOrders.GroupPanel.GroupPanelItems)  
            {  
                foreach (Control ctrl in oCell.Controls)  
                {  
                    if (ctrl is System.Web.UI.WebControls.ImageButton)  
                    {  
                        System.Web.UI.WebControls.ImageButton button = ctrl as System.Web.UI.WebControls.ImageButton;  
 
                    }  
                }  
            }  
        }  
 

i thought perhaps from the button i could get the fieldname. (the fieldname is all i want)

but all controls are literals, no imagebuttons. but the grid is populated with data - i thought it might be a post back issue.

can you please help

thanks

andy



  


 
Andy
Top achievements
Rank 1
 answered on 11 Jun 2010
1 answer
330 views
Is there a style i can use to get rid of border , header and footer? I did set bordersize=0 but it doesnt work. Also i did set borderstyle to none.

Attached is the image file. I want do have radwindow similar to showed in image file.

I cannot use tooltipmanager or other control. The developer has already built a page using radwindow and it is functional. But it doesnt look cool due to thick borders and header and footer.

any help is appreciated.
Shinu
Top achievements
Rank 2
 answered on 11 Jun 2010
1 answer
111 views
I'm looking for a way to place errormessages in the caption of the editform (in grid with editmode = popup)

I've tryed this:
protected void Grid1_InsertCommand(object source, GridCommandEventArgs e)     
{     
    string errorMess = "";  
    // followed by a lot of tests on the typed values ...  
   
    if (errorMess != "")     
    {     
        e.Canceled = true;     
        e.Item.OwnerTableView.EditFormSettings.CaptionFormatString = errorMess;     
    }     
}   
 
but I have to click the insert-button twice, before the text showes up in the caption.
Any ideas on how to avoid having to click twice?

Btw. I can't place the errormessages as added literalcontrol to the cancel-button - this is used for some other info :o)
Martin
Telerik team
 answered on 11 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?