Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
108 views
Hello,

I am trying to center my RadMenuItems so that the text appears at the center of the page.  Unfortunately, everything appears left aligned even though the menu fills up the entire width of the page.  So, how do I fill up the entire width of the page while having the menuitems completely centered?
Shinu
Top achievements
Rank 2
 answered on 10 May 2011
2 answers
60 views
I want to have this structure

BUTTON | <TEMPLATE AREA> | BUTTON

So I just want the template area to show a pager count which I define in my javascript.

How can I get it to just be a blank toolbar "zone" instead of a physical button which gets click events\etc (styling applied on hover\click)?

Thanks,
Steve
Kate
Telerik team
 answered on 10 May 2011
5 answers
175 views
Hi,
I am creating sliding zone and sliding panes dynamically.I want to expand one of the sliding panes on one button click event at server side for the dynamically created zone.
I have created the zones and sliding panes on OnInit method and I used the property ExpandPaneID of sliding zone in the page load method to expand a particular sliding pane in the page postback.
I dont see any pane getting expanded.
Can you please suggest how we can do that?
Thanks in advance.

Regards,
Bhavya
Dobromir
Telerik team
 answered on 10 May 2011
4 answers
89 views
On our webpage we have RadEditor control. RadEditor contains RealFontSize dropdown.
Problem:

<td align="center" style="width: 98%;"><img alt="" style="border: 0px solid;" src="/Images/1fc47641-aa90-466b-bcab-1df6b0a0bf5d.gif" />                    <span style="font-family: arial black; font-size: 18px;"><br />
            <br />
            Company Name </span></td>

Browser: IE 8
1. User selects text "Name"
Text in fontsize dropdown - "4"
2.User changes font size to 18px.
Text in dropdown changes to 18px.

In lower rows of that table there is different problem. I select text in a cell - fontsize combo says "2". I'm changing the value - font size changes, the value in combo remains the same ("2").  But what's more interesting - when i select text in more than one cell - the fontsize combo shows value in points (!) - 9pt. When i change the value - fontsize changes, the text value of combo stays the same. In FF4 it acts a little better. We would like to have one type of measure unit. It's not so important to have in every browser the same unit. In FF we have pixels and it's ok. But we can't have 3 types of units in IE8, because it's confusing for our clients. I can deliver html content of radeditor if that's necessary.
Rumen
Telerik team
 answered on 10 May 2011
1 answer
122 views
Hi,

Since the latest release (Q1 sp1) we have sometimes the following error:

Only items of type Telerik.Web.UI.IRadToolBarButton can initiate postbacks


We use just a toolbar, static populated  and no ajaxmanager on that page.

Thanks in advance,
Koen
Helen
Telerik team
 answered on 10 May 2011
5 answers
152 views
Hi,

I am using a sql dataset and binding to the scheduler fine including several appointments that recur. However, on more than one occasion, I have used the recurrence editor to set a weekly or monthly event and I get

A circular reference was detected while serializing an object of type 'System.Data.DataView'.



The specific item where recurrence was just set is this

ID 210
Subject 'whatever'
Description 'whatever'
Start 2010-07-06 07:00:00.000
End 2010-07-06 08:00:00.000
RecurrenceRule DTSTART:20100706T070000Z  DTEND:20100706T080000Z  RRULE:FREQ=WEEKLY;UNTIL=20110701T000000Z;INTERVAL=

If I clear out the recurrence rule, all is well.

In the recurrence editor, am I skipping/not setting something properly? I edited the entire series, specified weekly recurrence on Tuesday, and set the end by to June 30 2011 and saved. after the save, the calendar displays fine. It is when I close the browser and revisit this same data, that I get the error, i.e. on initial binding. Any help appreciated.
Veronica
Telerik team
 answered on 10 May 2011
1 answer
72 views
Hi Friends,

I want to display lots of data in RadGrid in which there will be some child controls in the grid which are having some events.
My point is here.. with this huge data if I call those events from server side it will definitely takes some time. I want a solution to
reduce the time using any client side techniques.
How to call events using Javascript client side techniques?
If anyone of you know help please help me in this connection.

Thanking you,
Bharath
Princy
Top achievements
Rank 2
 answered on 10 May 2011
1 answer
221 views
How do you use RadSyncUpload with MVC? Do you have any example code that I can look at? I took a look at the images uploader demo, but I'm not sure how to apply that to MVC.
Sebastian
Telerik team
 answered on 10 May 2011
1 answer
360 views
I would like to create a RadMaskedTextBox for Date of Birth Entry.  However, if I simply use a mask of ##/##/####, this will allow values which are potentially invalid numbers.  Is there a mask that I can use for a Date of Birth entry like <1..12>/<1..31>/<1920..DateTime.Now.Year>?

Thanks.  
Sebastian
Telerik team
 answered on 10 May 2011
1 answer
87 views
in  command one or more check box are checked
i check going to insert the record
i fill the record first time. that record only stay for last time it's self .
how i solve this
which record selected that record going to saved but one condition
that already check in and  save .


select a.Contract_Description from Asset_Service_Contracts a, Asset_Service_Contracts b " +
                                             " where a.Contract_AssetID is null and a.Contract_Description = '" + name + "' and " +
                                             " a.Contract_Description=b.Contract_Description



else if (e.CommandName == "RowClick")
            {
                DataTable dt1 = new DataTable();
                DataTable dt2 = new DataTable();

                GridDataItem item = (GridDataItem)e.Item;
                ContractID = item["ContractID"].Text;


                foreach (GridDataItem item1 in RadGrid_ServiceContracts.SelectedItems) // Loop through each selected items
                {
                    Response.Write(item1["ContractID"].Text.ToString());  // Where ID is the ColumnUniqueName                     
                    Response.Write(item1["Contract_Description"].Text.ToString());  // Where ID is the ColumnUniqueName       
                    string ID = item1["ContractID"].Text;
                    string name = item1["Contract_Description"].Text;                    
                    try
                    {
                        string selectQuery = " select a.Contract_Description from Asset_Service_Contracts a, Asset_Service_Contracts b " +
                                             " where a.Contract_AssetID is null and a.Contract_Description = '" + name + "' and " +
                                             " a.Contract_Description=b.Contract_Description ";
                        sqladp.SelectCommand = new SqlCommand(selectQuery, sqlconn);
                        sqladp.Fill(dt1);
                        int i = dt1.Rows.Count;
                        dt1 = null;
                        if (i == 0)
                        {

                        }
                    }
                    catch (Exception ex)
                    {
                        RadGrid_ServiceContracts.Controls.Add(new LiteralControl("Unable to delete Id. Reason: " + ex.Message));
                        e.Canceled = true;
                    }
                }
            }


thanks,
mohamed
mohamed
Top achievements
Rank 1
 answered on 10 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?