Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
110 views


Hi, i used RadWindow in my application, it is working fine, but after getting RadGrid page postback if i click the radwindow ,RadWindow properties(Behaviors,Behaviors and visiblestatusbar) not working,
i used  RadWindow  properties like below

<
telerik:RadWindow ID="History" runat="server" Height="300px"

 

 

Width="750px" Left="200px" ReloadOnShow="true" VisibleStatusbar ="false" Modal="true" Behaviors ="none"

 

 

Behavior="none" />

 

Pavlina
Telerik team
 answered on 09 Jun 2009
1 answer
75 views
Hi,
I am using RadMaskedTextBox and trying to create a mask that matches both L.##.#.###.#.##.##.## and L.##.#.LLL.#.##.##.##.

Tree letters that I highligthed with green, can be both letters and numbers. As you seen above, I have to be sure that users will enter only Capital letters and wont be allowed to enter punctuations (. specially) to the highlighted part. So  aaa is not a real solution for me. Do you have any idea about what I am suppossed to do now? I would appreaciate it a lot if someone could help me to find a mask.
Thanks,
Kind Regards
Aytaç Utku TOPAL
Dimo
Telerik team
 answered on 09 Jun 2009
2 answers
103 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
85 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
138 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
352 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
51 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
114 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
87 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
321 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?