Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
Hi i have an ajax panel with controls in it and have placed the panel inside of an ajax manager where it is called if an update panel is updated then the panel should be as well however this isnt happening the controls in the panel are having things passed to them but they dont then seem to fill the controls at all
Pavlina
Telerik team
 answered on 22 Jul 2009
4 answers
87 views
Hi

I may be being over-cautious, but I am not sure from the online install instructions if it is
best to use the installer msi or to install manually for this update?

I am using vwd 2008 SP1 and already have Q1 2009 (3.5) installed.

Please straighten me out!

Thanks

Clive
Clive Hoggar
Top achievements
Rank 1
 answered on 22 Jul 2009
1 answer
207 views

Greetings all! 

I have a strange issue in my test app. The prerequisites are as follows:

1. I have an aspx page featuring a standard asp.net ajax scriptmanager control as well as my own user control.

2. The user control of mine has only two things in it: RadAjaxManagerProxy plus RadGrid. The manager proxy is configured to update the grid on any postbacks from the grid (e.g. paging or sorting).

The issue is that regular postbacks still occur when say sorting the grid. Placing the grid into an RadAjaxPanel (and removing the manager of course)  fixes the issue. But why the hell doesn't it work with the manager proxy? I made sure the control IDs are correct in the manager settings. I also made sure Ajax postbacls aren't disabled in the manager. 

Best regards,

Andreii

Pavlina
Telerik team
 answered on 22 Jul 2009
15 answers
135 views
Hi:
     I have a drop down populated with a list of values on the advanced form. Depending on the value chosen in the drop down I want to be able to set the description and the end time to a certain value. How can I achieve this ? In the .net world I would have done it in the selected index changed event of the drop down but with the rad scheduler I dont know how can I create such an event.

Thanks,
Aditya

Peter
Telerik team
 answered on 22 Jul 2009
3 answers
84 views
I ahve a page with RadUpload on it.

There's no Ajax and I'm not currently using File Validation.

When I upload a file, the progress indicator shows as if the file is being updated and at the end of the process UploadedFiles.Count == 1 but there's nothing in the target directory.

No error is thrown.

Why is it eating my files?!?!?!

--
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 22 Jul 2009
8 answers
244 views
I have an xml document formated like this that I am populating a grid with using Autogenerated columns.  the Google column does not show as a hyperlink.  is there a way to make the autogenerated hyperlink column?


<?xml version="1.0" encoding="utf-16" ?>
- <Users>
  <USER FirstName="Keith" MiddleName="A" LastName="Delman" Address1="" Address2="" City="Atlanta" State="Georgia" Zip="30301"  Google=http://www.google.com/search?hl=en&rls=GGLD,GGLD:2004-50,GGLD:en&q=%22Ted%20Slinkard%22+%22Oncology%22&spell=1 />
</Users>
Stuart Hemming
Top achievements
Rank 2
 answered on 22 Jul 2009
1 answer
116 views
Hi All

I am using Telerik 2009 version. I am using a telerik grid to bind some data. The grid i am binding uses some special formatting so for that i have made EnableEmbeddedSkins as "False" enableTheming as "False" and SKin="" and hence i am able to add some effects on my rows of telerik Grid. If i donot use Skin="" then i am getting ugly buttons in place of Expand Collapse button images and Filter menu Options  and if  i am using SKin as "" then i am getting the desired things(i.e images)

BUT the issue comes with the filter menu, i want to add skin to the filter menu and for that i have added EnableEmbeddedSkins as "True" enableTheming = "True" and SKin="Gray" but i am not getting any skins over there which is making the Filter Menu ugly(i.e without any skin) please help me for the same that how can i apply the skin without losing my color properties that i have set for the Grid.

Any Immediate help will be highly appreciated.. Thanks Ahead!!



Iana Tsolova
Telerik team
 answered on 22 Jul 2009
4 answers
309 views
Hi,

I would like to set EnableAjax to false on the AjaxManager but only when the request is triggered via the OnAjaxRequest property and not when every other Ajax request is called.

Example in the documentation states I can force a postback via:

function onRequestStart(sender, args) { 
            args.set_enableAjax(false); 
        }; 

This works fine but it will of course stop all my Ajax requests will it not?

I was hoping I could do:

function ajaxRequest() { 
            var ajaxManager = $find("<%= ajaxManager.ClientID %>"); 
            ajaxManager.set_enableAjax(false); 
        } 

or

protected void ajaxManager_AjaxRequest(object sender, AjaxRequestEventArgs e) 
    { 
        ajaxManager.EnableAJAX = false
 
        // then call server side code 
    }  

but neither seem to work. The former because the event does not exist and the latter because it is too late in the page lifecycle to set enable ajax to false. Any ideas how I achieve this please?








Daniel
Telerik team
 answered on 22 Jul 2009
2 answers
620 views
Hi,

I am converting a regular asp:drodownlist to a rad ComboBox.  It is a year drop down that gets populated on a formula from the code behind.  However, I can't seem to get the SelectedValue from the ComboBox in the same way I can from the asp:dropdownlist.

Here is my code behind for populating the asp:dropdownlist:
private void BindYears() 
    { 
        DateTime firstyear = DateTime.Now.AddYears(-62); 
 
        for (int i = 0; i > -47; i--) 
        { 
            DateTime year = firstyear.AddYears(i); 
            ddlYear.Items.Add(new ListItem(year.Year.ToString())); 
        } 
 
        ddlYear.SelectedIndex = 0
    } 
I changed "ListItem" to "RadComboBoxItem" and the combobox populated correctly.  However, upon postback of the combobox value I got an error as if the 'Value' wasn't being read.

Here is the codebehind for pulling the values from the dropdowns: 
private int Month 
    { 
        get { return Convert.ToInt32(ddlMonth.SelectedValue); } 
        set { ddlMonth.SelectedValue = value.ToString(); } 
    } 
 
    private int Day 
    { 
        get { return Convert.ToInt32(ddlDay.SelectedValue); } 
        set { ddlDay.SelectedValue = value.ToString(); } 
    } 
 
    private int Year 
    { 
        get { return Convert.ToInt32(ddlYear.SelectedValue); } 
        set { ddlYear.SelectedValue = value.ToString(); } 
    } 
 
    public DateTime SelectedDate 
    { 
        get 
        { 
            try 
            { 
                DateTime selecteddate = Convert.ToDateTime(Month + "/" + Day + "/" + Year); 
                return selecteddate; 
            } 
            catch 
            { 
                throw new Exception("The date you selected is not valid"); 
            } 
        } 
        set 
        { 
            try 
            { 
                Month = value.Month; 
                Day = value.Day; 
                Year = value.Year; 
            } 
            catch (Exception ex) 
            { 
            } 
        } 
    } 

These worked fine for asp:dropdownlist and for statically configured radcomboboxes.  No on the dynamic "year" when using a radcombobox.

Stuck.  Any help would be appreciated.  Thanks.
joe
Joe
Top achievements
Rank 1
 answered on 22 Jul 2009
6 answers
542 views
Hi (again),

I have the following ListView definition:

<telerik:RadListBox ID="radListBoxGroups" runat="server" 
                                                    AllowDelete="false"  
                                                    AllowReorder="false" 
                                                    AllowTransfer="true" 
                                                    AllowTransferDuplicates="false" 
                                                    AllowTransferOnDoubleClick="true" 
                                                    CheckBoxes="false" 
                                                    SelectionMode="Multiple" 
                                                    TransferMode="Move" 
                                                    Height="300" 
                                                    Width="180" 
                                                    TransferToID="radListBoxGroupsSelected" 
                                                > 
                                                    <ButtonSettings Position="Right"  
                                                        RenderButtonText="false"  
                                                        ShowDelete="false"  
                                                        ShowReorder="false"  
                                                        ShowTransfer="true"  
                                                        ShowTransferAll="false"  
                                                        VerticalAlign="Middle" /> 
                                                </telerik:RadListBox> 
                                                <telerik:RadListBox ID="radListBoxGroupsSelected" runat="server" 
                                                    Height="300" Width="170"
                                                </telerik:RadListBox> 

And I use the following code to populate it:

            var query = from dg in _dataGroups 
                        join dgi in _originalDataGroupItems on dg.ID equals dgi.ParentDataGroup.ID into sr 
                        from x in sr.DefaultIfEmpty() 
                        select new { DataGroupID = dg.ID, IsEnabled = x != null, DataGroupName = dg.Name }; 
 
            foreach (var q in query) 
            { 
                RadListBoxItem radListBoxItem=new RadListBoxItem(q.DataGroupName,q.DataGroupID.ToString()); 
                radListBoxGroups.Items.Add(radListBoxItem); 
                if (q.IsEnabled) 
                { 
                    radListBoxItem.Selected = true;                  
                } 
            } 

I have traced through and some items are set to Selected==true, yet the ListView does not reflect this. The UI does not move items to the right-hand list and the SelectedItems collection returns Count==0.

What am I doing wrong?

Nathan J Pledger
Top achievements
Rank 2
 answered on 22 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?