Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
122 views
Last year, when I posted questions here in the forums I received many replies within a day.  Now after several days I see nothing.  Am I posting in the wrong board?  I.E., are people active in the control specific boards, or should I be asking in more general boards?
Brady
Top achievements
Rank 1
 answered on 11 Mar 2009
1 answer
133 views
I'm using a telerik RadGrid, with a UserControl edit form. When the InsertCommand event fires, I get the user control, and find edit controls on it, but there Text properties are all string.Empty. I suspect this has something to do with ViewState, but I don't know where to begin looking.
protected void jobGrid_InsertCommand(object source, GridCommandEventArgs e) 
    var editControl = e.Item.FindControl(GridEditFormItem.EditFormUserControlID) as JobEditControl; 
    SqlJobProvider.InsertJob(GetFieldValues(editControl)); 
 
private Dictionary<stringobject> GetFieldValues(UserControl editControl) 
    string tb = (editControl.FindControl("aspText"as TextBox).Text; 
 

Here tb == "", even when in the browser it contains a value.



Brady
Top achievements
Rank 1
 answered on 11 Mar 2009
2 answers
121 views
Hi

I am trying to change attributes of an image button ('MemberLoginButton') to give it rollover
characteristcs by adding attributes in the code behind on page load.

However I am have trouble finding the right path  to the MemberLoginButton which is contained within
a submenu RadMenuItem
I have tried RadMenu.Items.MemberLoginButton ...  and various other combinations but
Intellisense always says they are not members of RadMenu etc

the page code is like
             
<telerik:RadMenu ID="RadMenu2" Runat="server" Skin="Black"        
 
<telerik:RadMenuItem runat="server" Text="&nbsp;CELLAR CLUB">  
<Items> 
<ItemTemplate> 
<asp:ImageButton ID="MemberLoginButton" runat="server" ImageAlign="Right"   
ImageUrl="~/images/buttons/rt-arrow-grey.gif" /> 


Please advise me how to address this control!

Thanks

Clive
Clive Hoggar
Top achievements
Rank 1
 answered on 11 Mar 2009
10 answers
213 views
I think I've found bug when cutomized Advanced Template is used.

Scenario:
  1. Go here http://demos.telerik.com/aspnet-ajax-beta/Scheduler/Examples/AdvancedFormTemplate/DefaultCS.aspx
  2. Switch to month view
  3. Click on some day and enter options
  4. Try now to create event which occurse once it is all day and lasts only one day
  5. When You try to select the same start and end date while having all day selected then script is showing error Start time must be before end time
  6. When end date is selected to (startdate+1day) (all day event checkbox is selected too) then event is create for two days
There is no possibility to create all day event which lasts only one day.

EDIT: I'm using Q3 beta. There is one more thing. When I enter edit form for this evenI I see that end date is selected +1day so if I just save (without changing anything) then this event will be longer (+1day).
illumination
Top achievements
Rank 2
 answered on 11 Mar 2009
1 answer
78 views
Hi

I have a RadGrid that use a Select statement that includes a value from a RadTextBox
when the form is submitted.

It is running fine except that I would like to remove the word 'chateau' from the
TextBox text before the query runs and RadGrid gets populated.  In asp you would use
Replace(Request.Form("WineName"), "chateau", "")  before using the value. 
I could maybe do this in code behind with RegEx.Replace() if I knew what event to run
the code on.

Please advise!.

Thanks for your help

Clive

Clive Hoggar
Top achievements
Rank 1
 answered on 11 Mar 2009
2 answers
85 views
Hi,
I had to do some change with the sorting and Filtering ... Now When I sorting my sorting Image comes on the Filter Row and I Inserted this image in the ItemDataBound..It works perfect..But the problem come when I do a row click  the Image seems to get lost..The only solution I have it to rebind the grid on the row click..But Since the DataSource will have aleast 6 million row when it is push to the production..It will take a long time .. Do you guys have any solution..

Thanks,
DIP
Dip
Top achievements
Rank 1
 answered on 11 Mar 2009
2 answers
418 views
There are some method or property that reload the page when the user click on cancel button ?

cheers
M.
Jason
Top achievements
Rank 1
 answered on 11 Mar 2009
2 answers
117 views
i need to have a scheduler where i need to list all "orders" per day for an overview, this part should be readonly and I managed that to work.
But at the same time I need to add another datasource for the "notes", like if I have an order per 2009-03-25 I need to create an note 2009-03-20 book that people or purchase that item and so on.

Any suggestions on how to achive that?
Ben
Top achievements
Rank 1
 answered on 11 Mar 2009
2 answers
147 views
I am trying to apply a skin to a tabstrip based on a user selection. If i use the embedded skins everything works fine but if i try to use a custom skin it does not get applied. If i set one of the custom skins in the markup it works fine. It just does not work when i try to set it in the page_load event. So in the code below case 1 and 3 work using the embedded skins but case 2 does not work. The custom skin is in the radcontrols directory in the root of the website.


if (!string.IsNullOrEmpty(Request.QueryString["ProductID"])) 
                { 
                    Product rootProduct = ProductManager.GetParentProduct(int.Parse(Request.QueryString["ProductID"])); 
 
                    switch (rootProduct.ProductName.ToLower()) 
                    { 
                        case "metasmart & smartamine": 
                            ProductHeaderSmart.Visible = true
                            //tsCategories.SkinID = "ProductStripSmart"
                            tsCategories.Skin = "Outlook"
                            break; 
                        case "rovabio": 
                            ProductHeaderRova.Visible = true
                            tsCategories.EnableEmbeddedSkins = false
                            tsCategories.Skin = "ProductStripRova"
                            break; 
                        case "rhodimet": 
                            ProductHeaderRhod.Visible = true
                            //tsCategories.SkinID = "ProductStripRhod"
                            tsCategories.Skin = "WebBlue"
                            break; 
                        case "microvit": 
                            ProductHeaderMicro.Visible = true
                            //tsCategories.SkinID = "ProduuctStripMicro"
                            break; 
                        default: 
                            break; 
                    } 

KevinMc
Top achievements
Rank 1
 answered on 11 Mar 2009
2 answers
151 views
Hello,

I Have a RadGrid that loads data from a tablaAdapter,
how can I insert a new row as the first or last row of the grid.

example:

TableAdapter Bounded Grid.

Name     Phone
Bruno   1111111
Jonh     1111111

Now I want to add programmatically a new row as the first row before the bounded collumns are loaded.

Name        Phone
>> NewName  NewPhone
Bruno       1111111
Jonh         1111111

There is some method like :

RadGrid1.Rows.Add('Name',Phone')  ??


Thanx
Bruno
Top achievements
Rank 1
 answered on 11 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?