Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
101 views
I am trying to create a menu like :

File   EdIt   Tools  Help

but I am getting the following Menu :

File |   EdIt |  Tools | Help

My question is : How to hide the vertical separator between Menu Items so that i can get the final menu(without vertical Separator) as :

File   EdIt   Tools  Help



Thanks

Tapinder
Top achievements
Rank 1
 answered on 09 Jun 2009
1 answer
83 views

I got a radcombobox and I use autocomplete features it works for single item well but when I set Autocompleteseperator property it didnt work. radcombobox and the server code which I used for autocomplete features given below all help will be appreciated.

<telerik:RadComboBox ID="cmbUnvan" Runat="server" AllowCustomText="True"   
 AutoPostBack="True" EnableLoadOnDemand="True"   
onitemsrequested="cmbUnvan_ItemsRequested" Height="73px" Width="230px"   
AutoCompleteSeparator=";" MarkFirstMatch="True">  
<CollapseAnimation Duration="200" Type="OutQuint" /> 
</telerik:RadComboBox> 
 
 
    protected void cmbUnvan_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)  
    {  
        RadComboBox combo = (RadComboBox)o;  
        combo.Items.Clear();  
 
        SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["Personelcon"].ConnectionString);  
 
        string text = e.Text;  
        string sql = "SELECT * from Unvan WHERE Uname LIKE '" + text.Replace("'", "''") + "%'";  
 
        SqlCommand selectCommand = new SqlCommand(sql, connection);  
        SqlDataAdapter adapter = new SqlDataAdapter(selectCommand);  
        DataTable dt = new DataTable();  
        adapter.Fill(dt);  
 
        foreach (DataRow row in dt.Rows)  
        {  
            RadComboBoxItem item = new RadComboBoxItem(row["Uname"].ToString());  
            item.Value = row["Uid"].ToString();  
            //item.Text = Convert.ToString(row["Uname"]);   
            combo.Items.Add(item);  
        }  
    } 
Shinu
Top achievements
Rank 2
 answered on 09 Jun 2009
1 answer
130 views
Dear Telerik,

Is it possible to put a limitation area when dragging a  RadDock control?
I mean that the client does not like that he has the possibility to drag(move) RadDock in the right side or in the bottom side infinitely.
This is reproduce both in IE and FF.
I took a look of the Telerik site exmaple:http://mono.telerik.com/Dock/Examples/ClientSideEvents/DefaultCS.aspx and tried to do the same thing with a RadDock and it is reproduced.
I wrote the following js event for OnClientDrag
function dockDrag(dock, e)
{  
    var location = dock._getLocation();
    var x=location.x;
    var y=location.y;
    if(y>maxAllowed)
    {
    location.y = maxAllowed;
    dock._setLocation(location);
  //or
   dock.set_top(location.y);
    }
}
but with no effects.

Could you please help me if there is a solution.

Thanks very much.
Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 09 Jun 2009
15 answers
349 views
Hi All,

I'm happy with the Add New Item button that the grid puts at the top of the page but would like to put some custom javascript in to open a new window when it's clicked rather than doing an inline edit.

I've seen the Command Item Template help page however that discusses adding in new buttons. 

Is there a way to change the javascript for the default "Add new item" Command button OR is there a way to create a new button and style it the same way as that default button?

I'll also need similar functionality for the Edit button although am not so worried with that as it's a plain old anchor style button...

Many Thanks,

Jon
Jon
Top achievements
Rank 1
 answered on 09 Jun 2009
1 answer
50 views
Hi i have downloaded some code that has been provided by telrick from the code library that enabled me to view the calendar in a week view the problem is that it is now stuck on week 23 and wont move forward i need this to be dynamic so that it moves forward per week is there anything i can do to change it

Many thanks
Kevin
Top achievements
Rank 1
 answered on 09 Jun 2009
1 answer
108 views
hi, i am currently develop a page by using rad grid. I had put the loading panel for the radgrid for refreshing the grid when there is  an update. I had also using the custom filtering colums for the radgrid. All is ok when i am using the default filtering function but when i am using the custom filtering columns for the filtering function, there is a javascript error. Notice that when i remove the loading panel, there are no more javascript error. But i need to use the loading panel to help user to recognize that the process is running. Any people can help me on this?

best regards
sk
Pavlina
Telerik team
 answered on 09 Jun 2009
3 answers
81 views
I have a grid with 4 detail tables on the same level beneath the master table view. 3 detail tables works well, but the 4 make the entire grid distort when expanded. Can someone please help me get the 4 detailviews aligned properly.

Thanks
jimmie
Top achievements
Rank 1
 answered on 09 Jun 2009
11 answers
312 views
Hi!
Help please, how I can set value for EditImageUrl for GridEditCommandColumn using skin-file?
Here contents of my skin-file for Grid:
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<telerik:RadGrid runat="server"
<MasterTableView 
    CommandItemSettings-AddNewRecordImageUrl="~/Images/add_16.png" 
    CommandItemSettings-RefreshImageUrl="~/Images/refresh_16.png" 
    EditFormSettings-EditColumn-EditImageUrl="~/Images/edit_16.png" 
    EditFormSettings-EditColumn-InsertImageUrl="~/Images/add_16.png" 
    EditFormSettings-EditColumn-UpdateImageUrl="~/Images/save_16.png" 
> 
    <Columns> 
         
    </Columns> 
</MasterTableView> 
</telerik:RadGrid> 

Sebastian
Telerik team
 answered on 09 Jun 2009
8 answers
247 views
Hi,

In the old rotator control, I was able to set TransitionEffect="GradientWipe", and this had the effect of transitioning between my various 'slides' with a nice fade.  The thing to note is that during the fade, I could see both slides.  It appeared as though they literally transitioned from one to the other.

I want to achieve the same effect with the new rotator control, but the best I can come up with is RotatorType="slideShow" and SlideShowAnimation-Type="fade".  But this has the effect of cutting to white and fading in the next slide from white.  I want the next slide to fade in from the previous slide like the old control did.  How can I achieve this?  I could not see how to from the live demos.
kmv
Top achievements
Rank 1
 answered on 09 Jun 2009
3 answers
84 views
Hello

Please could someone help me...I have a number of panel bars which are created on the fly...in each panel bar i have a radgrid with lists a loads of names, by each name i have two link buttons for 'view profile' and 'view details'.  basically i need to get to the link buttons and perform some actions but how can i get to know they have been clicked?

I have tried everything i can think of in the code behind but with no success I have tried

 

Public Sub RadPanelBar1_ItemClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadPanelBarEventArgs) Handles RadPanelBar1.ItemClick

 

 

End Sub

to start with and added 

 

OnClientItemClicked

 

="RadPanelBar1_ItemClick" to my RadPanelBar but cant even get this to trigger...

please could someone help me as to how i can access these link buttons.

thanks so much

 

Sebastian
Telerik team
 answered on 09 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?