Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
149 views
Hi,

I want to create Menu exactly like top menu in telerik website. There are two main point about it:
1- Small Arrow near main menu and when it clicked sub-menu shown.
2- Current category is expanded and it doesnot have any arrow.

Is there any ready skin to have this or part of it, or any hint?

Thanks
Mazdak
Ivan Zhekov
Telerik team
 answered on 20 May 2011
3 answers
118 views
I want to make the following changes to the RadMenu apperence:

* I want the menu to be 100% width of <div id="top-menu-wrapper"> that the control is placed inside
* I want the dropp down submenu to be full width of <div id="top-menu-wrapper"> (same as above) and flow horizontally. Flexible amount of columns depending on number of sub-menu-items and length of items i.e. wrapping menu items. 
* How to be able to add the shaddow images to top of submenu, but the shaddow should not go over the selected menu item 

Basically it should behave similar to this website: www.nrk.no

I have attached a picture of the end result that I am trying to archieve with the RadMenu. Menu items is built dynamically through code. And I need to archieve this with CSS.  this possible with the RadMenu and how can I arhieve this?

Many thanks
Lisa-Marie
Ivan Zhekov
Telerik team
 answered on 20 May 2011
2 answers
85 views
Hi,

I'm interested in using the Timelineview of the RadScheduler control in a project I'm working on to allocate tasks to resources, and have a few questions. I need to display the Timelineview over multiple days (1-14 days, selectable setting) at 30m intervals. For an indication of what i'm trying to replicate using RadScheduler, please see the attached screenshot.

1. I need to display a header with the date and subheader for each hour. The ColumnHeader is fine for 1 day display, but for multiple days display it is quite useless. I need the date to be visible above the hours as i scroll horizontally to the next day, if not, the user does not know which day the hours are when multiple days are displayed.
2. The working day is from 0800-1900. I need the Timelineview to end at 1900 and next column is then 0800 the next day. Is this possible?
3. I need to set a hard line at the end of the day, i.e. change the style of the vertical bar at the end of 1900 to visually indicate a new day starts. How can this be done?
4. I need to set a moving time line across all resources, which is updated every 1 minutes, to display current time on a day. Is there  a possibility to visually indicate in the timelineview what the current time is? (see red line in attached screenshot)
 
Thanks.
Peter
Telerik team
 answered on 20 May 2011
1 answer
94 views
Does Telerik have Blackberry Playbook to review the results? 
The calendar picker is not working.
Pavel
Telerik team
 answered on 20 May 2011
4 answers
185 views
I have a situation like this:

I have my base page object.

Inside of my base page I have an ajax Manager.
Inside of base page I have a user control
Inside of this user control I have another user control with a radajaxmanagerproxy
Inside of this user control I have a RadGrid
For my edit form settings I have using EditFormType="WebUserControl"
Inside of that control I have a radajaxmanagerproxy

This radajaxmanagerproxy will not show the loading panel when an ajax postback occurs.

The page other then this works great, but for some reason the loading panel will not show.

Also during some release possibly the 2008 Q2 this worked perfectly.  I believe after upgrading to 2008 Q3 it stopped, and we never noticed.

Do you have any guidelines for nesting radajaxmanager(proxy) like this in order to get my desired outcome?
Are there any debugging points that you can suggest?

We are now on 2008 Q3.  We have not upgraded to 2009 Q1 yet.




suresh
Top achievements
Rank 1
 answered on 20 May 2011
1 answer
146 views

Hi
I have a form .I want show radwindow from code behind and then user enter data in radwindow and  process data which user enter .similar

 

 

 

If dvwItemPayDetail.Count > 0 And AllowUpdate = True

Then

 

 

 

Dim script As String =

"<script language='javascript' type='text/javascript'>Sys.Application.add_load(ShowWindow);</script>"

 

 

 

 

 

ClientScript.RegisterStartupScript(

 

 

 

 

 

Me.GetType(), "showWindow"

, Script)

 '------------>> Not Stop .I want stop debug which user enter data in radwindow then continue to debug

 


Calculate( return value1  from radwindow ,return value2  from radwindow )
DIm i As integer=return value1  from radwindow
i+=2
Calculate( i ,return value2  from radwindow )
end if

please help to me.
thank
Princy
Top achievements
Rank 2
 answered on 20 May 2011
3 answers
169 views
Hi

I have a page on which is a complex multi tabbed form that I want to appear when the user clicks a link on the main page.

Simple stuff. This I had working with the form appearing in a div that was hidden and simply made visible. However, having bought the Rad controls for ASP.NET I wanted the use the very attractive RadWindow to hold the form. It is there the problems began.

The entire form is in an update panel as it needs to be for many reasons not relevant to this issue.

The top of the form looks like this.

<asp:UpdatePanel runat="server" id="UpdatePanel1" UpdateMode="Conditional">
    <ContentTemplate>  
        <telerik:RadWindowManager ID="rwManager" Behaviors="Close,Move, Resize" ShowContentDuringLoad="false" VisibleStatusbar="false" ReloadOnShow="true" runat="server" Skin="Outlook" EnableShadow="true">
            <Windows>
                <telerik:RadWindow ID="rwAdvancedSearchForm" Modal="true" runat="server" Width="700" Height="600"
                    <ContentTemplate>
                        <table class="dv" cellpadding="0" cellspacing="0" border="0">

and so no.

You can see in there the first (and only) RadWindow in this RadWindowManager is called rwAdvancedSearchForm.

Back on the page I have a link that calls this javascript function.

function showAdvancedSearchForm(){
    var win = $find("<%#rwAdvancedSearchForm.ClientID %>");
    win.show();
    win.center();
}
... where ASP.NET is putting the name of the control into the page.

The problem is that the javascript breaks on the line 'win.show() as 'win' is not found.

Looking at the source code I can see that asp.net has put the correct name into the page. Here is a bunch of code from the source that has the js function above and the div at the bottom that is rsAdvancedSearchForm. You can see the names are correct.

     
function showAdvancedSearchForm(){
    var win = $find("ctl00_PageContent_rwAdvancedSearchForm");
    win.show();
    win.center();
}
   
 
</script>

 
<div id="ctl00_PageContent_UpdatePanel1">
         
        <div id="ctl00_PageContent_rwManager" style="display:none;">
 
        <div id="ctl00_PageContent_rwAdvancedSearchForm" style="display:none;">

Despite this the javascript cannot 'show()' the div has it cannot be found.

What's going on?





Brad
Top achievements
Rank 1
 answered on 20 May 2011
1 answer
206 views
hi
I want to change icon and header text my radwindow but it not working .My code is

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">

 

 

 

<Windows>

 

 

<telerik:RadWindow runat="server" IconUrl="~/impromptu/att.png" Width="450px" NavigateUrl="DialogTozin.aspx" ID="Window1"></telerik:RadWindow> 

 

 

</Windows>

 

 

 

 

 

</telerik:RadWindowManager>

 

 

I too want when show radwindow it was maximum size default
please help to me

Shinu
Top achievements
Rank 2
 answered on 20 May 2011
1 answer
72 views
Hey folks,

I'm giving the radgrid a shot.  Basically when a user searches a different way, the page_load will direct it what data source to use like so:

If request.querystring("type") = "LocationCategory then
RadGrid1.datasource = sds_search_type_locationcategory
RadGrid1.DataBind()
End if

So i really have two questions. 

#1, is there a better way to do this? I have about 8 different 'types' of searches so the complexity is getting to be a little outrageous. Plus i have to use NeedsDatasource to allow paging/sorting etc which makes it more complex.

#2, Some of my queries return about 10,000 rows, is there a way to show the proper count but not select ALL of that data at once and only select it when its requested?

I cant be the only one out there doing something like this, hopefully i'll get some answers :)
Shinu
Top achievements
Rank 2
 answered on 20 May 2011
2 answers
610 views
Is it possible to stream a file when using the single click of rad button.
For example I've setup a button exactly like the one in the Single Click Button demo but the button never gets enabled after the file is downloaded. I think it is because I'm using response.clear and response.end methods but I'm not sure. Here is the main part of the code in the button. Is there a workaround to this problem. The button is setup correctly because if I remove this code, it works properly.

Dim downloadBytes As Byte() = pdfConverter.GetPdfFromUrlBytes(URL)
 
       Dim response As System.Web.HttpResponse = System.Web.HttpContext.Current.Response
       response.Clear()
       response.AddHeader("Content-Type", "binary/octet-stream")
       response.AddHeader("Content-Disposition", "attachment; filename=" + FileName + "; size=" + downloadBytes.Length.ToString())
       response.Flush()
       response.BinaryWrite(downloadBytes)
       response.Flush()
       response.End()

Thank you,
Brian
Brian Goldman
Top achievements
Rank 2
 answered on 19 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?