Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
148 views
My company has approved an HTML/CSS prototype/script.aculo.us design for a navigation menu but now we have a technical requirement to convert this menu to a Telerik RAD menu. Since the design has already been approved, we need this menu to work & look like the the prototype/script.aculo.us version.

The example of the approved menu is here:
http://beta.lpsdefault.com/mockup/120709/notabs2.html

The inconsistencies I've been unable to overcome (thus far) in converting this menu to Telerik are
With the Horizontial to tier of the menu (Tasks/Special/Reports):
  •        Cannot accuratley recreate the slanted background separator images and hover images.
With the submenus (Tier 1 & 2):
  •        implementing the Graphic backgrounds with partial opacity but with 100% opacity on the graphic borders
  •        Absolute positioning these divs rather than them falling dynamically under the level above.
  •        Fixed width / height of these divs
  •        Vertical scrolling with browser scroll bar as seen under reports & reports/closing management options

Right now I'm trying to create a custom skin, using the Web20 skin as a starting point. With the static example above, I had access to define the styles and write the output code calling those styles. With Telerik, I only have access to the stylesheet and not the output code.

Can someone help me address these inconsistencies and get this menu working and looking the same way within the telerik structure?

Thanks.
Matt Pilgrim
Top achievements
Rank 1
 answered on 11 Dec 2009
1 answer
124 views
I want to be able to insert and delete records from a grid but wish not to allow an existing record to be edited.  Is there a way to hide the Edit command link, but still have the Save and Cancel available for insert?
Schlurk
Top achievements
Rank 2
 answered on 11 Dec 2009
1 answer
77 views
For Entering the Data in Radeditor its starting from the middle how can i set the align to left from middle
Rumen
Telerik team
 answered on 11 Dec 2009
2 answers
176 views
Hi,

  I am using image manager to upload and insert image to editor.Server path is displaying in textbox that under the menus..i would like to hide the textbox(path) .i don't want the users  to see the server files in the image manager

Can you tell me the solution?

Thanks for any help

Rumen
Telerik team
 answered on 11 Dec 2009
1 answer
207 views
I recently installed the Official IIS 7 URL Rewrite module (http://www.iis.net/expand/URLRewrite) and wrote a simple rule to rewrite a website from: http://www.site.com/news.aspx?Category=Sports to http://www.site.com/Sports/  The URL Rewrite works, if you goto the later url it works, however all of the Ajax driven controls (ie the RadMenu, RadRotator, RadTabStrip etc) do not work any more.

Is there a simple fix for this?

Thank you.
Fiko
Telerik team
 answered on 11 Dec 2009
5 answers
169 views
Hello. I need help with three things:

  • I need to make it required that a user selects from two resource dropdowns before attempting to submit a new appointment.
  • I need to make it required that the date of the appointment is after today.
  • I need to output error messages if either of these two do not happen.

        protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e)  
        {  
            //if the event takes place before today, cancel, preferably with an error message  
            //if the resources are left empty, cancel, preferably with an error message  
            if (e.Appointment.Start <= DateTime.Now)  
            {  
                e.Cancel = true;  
            }  
        }  
 
        protected void RadScheduler1_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)  
        {  
            //if the event takes place before today, cancel, preferably with an error message  
            //if the resources are left empty, cancel, preferably with an error message  
            if (e.ModifiedAppointment.Start <= DateTime.Now)  
            {  
                e.Cancel = true;  
            }  
        } 

Using the above functions, I can prevent insertion/editing-in a prior date, but how do I get the scheduler to output an error message?

And how do I require resource selection from dropdown menus AND provide errors for those as well?

Thanks in advance.
Peter
Telerik team
 answered on 11 Dec 2009
1 answer
71 views
The ImageSrc icon to select a background image invokes the same DbContentProvider class as the Image Manager icon in the toolbar.

How do I invoke a different DbContentProvider class?

Thanking you in anticipation.

Roger
Rumen
Telerik team
 answered on 11 Dec 2009
1 answer
176 views
Hi,

I am wondering if there is any support for MicrosoftAjaxWebForms.js on the CDN feature.

Thanks
T. Tsonev
Telerik team
 answered on 11 Dec 2009
2 answers
138 views
I have the date filters working on a grid.

A between filter would be very helpful, but i have a simpler question i am not getting.

I want to hide the default row and column headers and set the fast nav to 12 months instead of 3.

I have set this for other datepicker controls in a form, but   How can i do this for a filter ?  In VB please ...

David
Top achievements
Rank 1
 answered on 11 Dec 2009
2 answers
166 views
I've got a problem with filling RadComboBox. Every time, the user clicks on the scrollbar all items are added again.

My RadComboBox looks like (its within a table):

 

                                                        <telerik:RadComboBox ID="radComboBoxPLZ" Runat="server" Width="50px" DropDownWidth="260px" MaxHeight="200px" 
                                                            OnItemsRequested="radComboBoxPLZ_ItemsRequested" EnableLoadOnDemand="true" MarkFirstMatch="true"   
                                                            CollapseDelay="100" TabIndex="1">  
                                                            <HeaderTemplate> 
                                                            <table style="width: 220px" cellspacing="0" cellpadding="0">  
                                                                <tr> 
                                                                    <td style="width: 40px;">  
                                                                        PLZ</td> 
                                                                    <td style="width: 120px;">  
                                                                        Gemeinde</td> 
                                                                    <td style="width: 20px;">  
                                                                        Kanton</td> 
                                                                </tr> 
                                                            </table> 
                                                            </HeaderTemplate> 
                                                            <ItemTemplate> 
                                                                <table style="width: 220px" cellspacing="0" cellpadding="0">  
                                                                    <tr> 
                                                                        <td style="width: 40px;">  
                                                                            <%# DataBinder.Eval(Container, "Text")%> 
                                                                        </td> 
                                                                        <td style="width: 120px;">  
                                                                            <%# DataBinder.Eval(Container, "Attributes['Gemeinde']")%> 
                                                                        </td> 
                                                                        <td style="width: 20px;">  
                                                                            <%# DataBinder.Eval(Container, "Attributes['Kanton']")%> 
                                                                        </td> 
                                                                    </tr> 
                                                                </table> 
                                                            </ItemTemplate> 
                                                        </telerik:RadComboBox> 
 
And my CS-Code looks like:
    protected void radComboBoxPLZ_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)  
    {  
        if (e.Text.Length < 1)  
            return;  
 
        string sqlSelectCommand = string.Format("Select p.PLZ, k.Gemeinde, k.Kanton from AAV_TEST_PLZ_ORTE_GEMEINDE p, AAV_TEST_GEMEINDE_KANTON k where p.KANT_GEM_ID = k.ID and p.PLZ LIKE '{0}%' ORDER BY p.PLZ", e.Text);  
 
        DataTable dataTable = null;  
 
        using (OleDbDataAdapter adp = new OleDbDataAdapter(sqlSelectCommand, AdresssucheParameter.ConnectionString))  
        {  
            dataTable = new DataTable();  
            adp.Fill(dataTable);  
        }  
 
        foreach (DataRow dataRow in dataTable.Rows)  
        {  
            RadComboBoxItem item = new RadComboBoxItem();  
 
            item.Text = (string)dataRow["PLZ"];  
            item.Value = dataRow["PLZ"].ToString();  
 
            //zusätzliche Spalten  
            item.Attributes.Add("Gemeinde", dataRow["Gemeinde"].ToString());  
            item.Attributes.Add("Kanton", dataRow["Kanton"].ToString());  
 
            radComboBoxPLZ.Items.Add(item);  
            item.DataBind();  
        }  
    }  
 
In den Page_Load-Event I do nothing, beceause I don't want to load all the items beacause it takes too long. And I can't use WebService, because I need to get the value from the ComboBox in an other ComboBox with:

    string

plz = e.Context["FilterStringPLZ"].ToString();

I'm looking for an solutin since 2 days and can't find an answer. It's very frustrating because I'm testing with yout Trial Version - when it looks good, we would like to pay the software.
Thanks for your anser! Bye

 

Test Test
Top achievements
Rank 1
 answered on 11 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?