Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 views
Hello Support,

 We are using the  telerik Tabstrip in my project. In that I want to show the image on the individual tab instead of normal tab. I have overwrite the existing style with my images. But the image is not placing correctly.(http://jettest.jetliving.com/images/inner_tab.png).
I am not getting the curve as like in image in Tab. Please look the below url for Demo.

http://jettest.jetliving.com/AreaLanding.aspx

With expecting reply

Thanks

Mohamed




Yana
Telerik team
 answered on 28 Dec 2009
5 answers
104 views

I am using Telerik 2009 Q2 release.
I have a WinGrid where a put all records in Edit Mode. The only editable item on a row is a checkbox. I only want the user to be able to check the checkbox as nessary. Because all rows are in edit mode a line is displayed underneath each row. I do not want this line displayed. I believe I should be able to suppress the line by the following code - but is is not working. The EditItemStyle-BorderStyle="None" should suppress the line.

<

 

MasterTableView DataKeyNames="WorkCategorySubTypeDamageExtentID"  

CommandItemDisplay="None"   

EditMode="InPlace" GroupHeaderItemStyle-HorizontalAlign="Left"   

AllowSorting ="True" DataSourceID="ManageDamageExtentSelect" ShowHeader="True" ShowFooter="True"
EditItemStyle-BorderStyle="None" >

Thanks for any help.

Chris

 

 

 

 

Daniel
Telerik team
 answered on 28 Dec 2009
1 answer
135 views
Hello,

I am looking for ideally a sample project or some guidance on how to have a clients-side caching for a Rad Grid that can be filtered using html anchor passed in URL. (something like what you get in Gmail, ie: http://mail.google.com/mail/?ui=2&shva=1#inbox   or  http://mail.google.com/mail/?ui=2&shva=1#search/Telerik)
I have seen the sample projects and demo for client-caching and also filtering. Below I have explained a scenario of what I want to achieve:

I get the data from database using one of these methods(Linq, WebService.asmx or WebDataService.svc) and then Cache it so paging or filtering should not require anymore call to database. (Sample code: http://demos.telerik.com/aspnet-ajax/grid/examples/performance/linq/defaultcs.aspx)

Now I want to have a separate search box (Not the default RadGrid Filter templates) like in Gmail. Only that I am interested to search on one field which is customer name shown in my grid.
Now is there a way that using JavaScript on the client side I can get the grid data, search on one of the column (Customer Name) and bound the filtered result back to the grid again. I would like to pass the search result as html anchor in the url, something like this:
http://www.mySite.com/default.aspx#Search/David 
or, if not possible
http://www.mySite.com/default.aspx?Search=David 

So the main is how to access the cached data in javascript, filter it and bound it again to the RadGrid.
Any idea, hope I have explained this clearly.

Many thanks
Nikolay Rusev
Telerik team
 answered on 28 Dec 2009
1 answer
129 views
Hi...

-- Is there a way to import into RadEditor a user's control selection? The control selection might be from a RadListBox, RadGrid or ListView. 

-- I am needing to select and import nvarchar(max) items... normally 2 to 3 sentence blocks of text .

-- I tried using the snippet and custom toolbar dropdowns but it is tough to distinguish between the various items when the dropdown is activated.

Thoughts?

Brad
Dobromir
Telerik team
 answered on 28 Dec 2009
6 answers
634 views
Hello -

I am using the RadAlert called from code behind to to mimic a modal messagebox and it is working quite well.

 

public void ShowRadAlert(string p_msg, string p_title)  
        {  
            //RadAlert(msg, height, width, title)  
            ScriptManager.RegisterStartupScript(Page, typeof(Page),  
                   "ShowAlert",  
                   string.Format(@"  
                        function _showAlert() {{Sys.Application.remove_load(_showAlert);     
                        radalert('{0}', null, 100, '{1}');}};     
                        Sys.Application.add_load(_showAlert);", p_msg, p_title), true);  
        }  
 

 

The question I have is this: Is there anyway to set focus to a control on the calling page after the OK button is clicked on the RadAlert. For example, I have validation on the main page to check to see if the value in a textbox (tbEmployeeCount) is entered and if it isn't display the RadAlert and then set tbEmployeeCount.focus() so the user can enter a value.

Thanks -

 

Svetlina Anati
Telerik team
 answered on 28 Dec 2009
7 answers
178 views
Hi,
In my web application, I use a master page for all pages.
This master page contains a RadSplitter (horizontal orientation) which first pane's contains the header of my pages.

The question is : is it possible to persit the Collapsed property when navigating from a page to another of the application.

There is no way to set this property on server side and to use the Session to persist it for example...

For example :
If (PageReferrer.Master.RadPaneHeader.Collapsed = true) Then (this.Master.RadPaneHeader.Collapsed = true)

Is there any solution to do that?
Thanks for any help.
Svetlina Anati
Telerik team
 answered on 28 Dec 2009
2 answers
169 views
Hi,

Please refer to the attached image -  I've modified the alignment of the RadTextbox controls in the Telerik Demo for RadMenu to reproduce the issue to make sure that it is not my implementation that is causing the problem.

The concern is that if a Textbox has focus set on it (cursor blinking inside the textbox), and radmenu is hovered-upon, the Rad SubMenu opens but the blinking cursor inside the Textbox is visible even across the radmenu layer.

The issue has been reported by the customer when we were using ComponentArt Menu, and now we migrated to Telerik Menu but the issue persists with Telerik also.
Any idea how this can be fixed - workaround is acceptable unless it is to be applied on Menu and not on every textbox in application ;)

Wish you a Merry Christmas and a Happy New Year!

Thanks and Best Regards,
Veenu Munjal
Kamen Bundev
Telerik team
 answered on 28 Dec 2009
1 answer
536 views
Hi,
I'm using a RadGrid with AllowPaging=true and AllowCustomPaging=true.
The grid also has the events PageSizeChanged and PageIndexChanged enabled.

In Page_Load I'm setting the grid PageSize to 50 but when running the page it only shows 10 rows and I figure it out the cause to be in the pageSizeChanged event.
It looks like this:
       protected void radGridCompanies_PageSizeChanged(object source, Telerik.Web.UI.GridPageSizeChangedEventArgs e) 
        { 
            //_take = radGridCompanies.PageSize; 
            //Label1.Text = "ny:" + radGridCompanies.PageSize.ToString(); 
            //radGridCompanies.PageSize = e.NewPageSize; 
            //_skip = e.NewPageIndex * radGridCompanies.PageSize; 
            //radGridCompanies.PageSize = radGridCompanies.PageSize; 
 
            //_skip = 0; 
             
            radGridCompanies.CurrentPageIndex = 0; 
            //radGridCompanies.DataSource = null; 
            radGridCompanies.Rebind(); 
        } 

The grid is only showing 10 rows because of the rebind() call.

Do I need to save the grids PageSize property in ViewState or Session or something and reset it somewhere or what is best practice when using custom paging?
(thou I have tried to reset the PageSize in the event above but the then the hole page times out)

/Mattias

Tsvetoslav
Telerik team
 answered on 28 Dec 2009
1 answer
124 views
WHat is the best solution to define a combo box value as optional when bounded to database view result set?

Right now ComboBox is attached to view result set and by default on page launch, first item in combo is selected. User is unable to pass null/empty value for this field.

Thanks,
Ali.
Genady Sergeev
Telerik team
 answered on 28 Dec 2009
7 answers
254 views
Is there a way to set a maximum height on the ComboBox's dropdown?  We have several ComboBoxes on forms where we do not know how many items will be in the list.  We want the dropdown to be as small as possible, and if it will be longer than say 300px, display scroll bars.  The problem is if we just set the height to 300px right now, if the list only has 3 items in it there is a large blank space.

Right now we are just setting the height of the ComboBox server side if the count exceeds a certain amount, but this is very inconsistant as not only can some of the items wrap around to multiple lines of text but also as different font sizes are chosen on the browser other problems occur.

I guess ideally we want the control to behave like a traditional html dropdown within the browser in terms of having it automatically figure out if it will fit within the current window and if not introduce then introduce scroll bars.  Any suggestions?
Shinu
Top achievements
Rank 2
 answered on 28 Dec 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?