Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
124 views
Hi,
Scenario:
My asp.net Usercontrol(acsx) is wrapped in radajaxpanel control.

I embedded this control in a aspx page which has RadAjaxManager.

I want to update control using ajax manager. when I pass Control unique ID. It throws exception that ClientID is not availabel for UserControl, 
Manish
Top achievements
Rank 1
 answered on 12 Mar 2012
2 answers
98 views
Hi. I add   radtoolbar. it has 2 buttons. 

When I push the first button, I wanna do this code

 

 

 

 

Vx.Windows[0].NavigateUrl = "number.aspx?no=" + no.Text;
                Vx.Windows[0].VisibleOnPageLoad = true;


Can I do? how?

Sorry for my english.

Thanks

Maksut
Top achievements
Rank 1
 answered on 12 Mar 2012
7 answers
143 views
Is there any work around or when the new version supporting mvc4 will come out?

Thanks.
Peter
Telerik team
 answered on 12 Mar 2012
5 answers
104 views
Hi,

I'm using the 2010.2.826.35 version of the ASP.NET for AJAX controls.  I'm new to the Scheduler, and assume this is a simple question but couldn't find a KB article or forum post that answers it.

My Scenario:
- When my page loads, the Scheduler shows the current month as expected (it is in MonthView).
- Then I scroll to a new month (or even switch to week view and scroll to any week).
- If I hit F5 to do a page refresh in the browser, the Scheduler again shows the current month.

What I want it to do, is continue to show the correct timeline and date range that I was currently looking at.

Q.  What is the recommended way of doing that?

Do I store the SelectedView type and the date range in hidden fields, and read them and set the appropriate properties of the Scheduler?

Thanks,
Michael
Plamen
Telerik team
 answered on 12 Mar 2012
3 answers
76 views
I am having control structure similar to outlook. I am facing an issue, reading pane is having scroll bars, but on mac scroll bar isn't working with keyboard up and down arrow keys.

The issue is present on the webmail demo as well. (refer http://demos.telerik.com/aspnet-ajax/webmail/)

please let me know if there is any workaround to make it working on mac safari.

Slav
Telerik team
 answered on 12 Mar 2012
1 answer
165 views
Hello,

I have a standard .NET ajax modal pop up on my website that contains, among other things, a RadGrid. Whenever I page through the grid it appears as though the whole page is posting back as things outside of the modal pop up are reloading in the background.

What do I need to do to get only the grid to reload when I page? I just have a RadGrid tag in my aspx page - no RadScriptManager or anything like that, are these required to make the grid ajaxified? I tried putting the grid in a standard UpdatePanel but that didn't make any difference.
Shinu
Top achievements
Rank 2
 answered on 12 Mar 2012
11 answers
271 views
Hi There,

I have just done a database attached upgrade of my companies SP farm from 2007 to 2010.  SInce then I am getting the following error:

Could not load file or assembly 'RadEditorSharePoint, Version=5.8.4.0, Culture=neutral, PublicKeyToken=1f131a624888eeed' or one of its dependencies. The system cannot find the file specified.

Troubleshoot issues with Microsoft SharePoint Foundation.

Correlation ID: 10fe3376-9c71-45aa-87c3-377532a02e54

Date and Time: 22/02/2012 09:33:44


I am completely lost with this one and have no idea how to resolve this, does anyone have any ideas?

FYI - I have only recently joined the company, and have no knowledge of the RadEditior, but I did try and reinstall the WP but apparently its only compatable with WSS 3.0 and MOSS 2007.

Thanks,
Michael
Michael
Top achievements
Rank 1
 answered on 12 Mar 2012
3 answers
303 views
Hi,
    Am using two rad list box to transfer items each other mean while database call also

List boxes using : 
<tr>
<td align="left">
   <telerik:RadListBox runat="server" ID="radListAssigned" Height="400px" Width="300px"
    TransferToID="radListUnAssigned" AllowTransfer="true" AutoPostBackOnTransfer="true" TransferMode="Move"
    DataTextField="abc" DataValueField="ID" SelectionMode="Multiple" OnTransferring="radListAssigned_Transferring">
    <Localization AllToLeft="" AllToRight="" />
    <ButtonSettings ShowTransferAll="False" TransferButtons="Common" />
 </telerik:RadListBox>
</td>
<td align="left">
   <telerik:RadListBox runat="server" ID="radListUnAssigned" Height="400px" Width="300px" TransferMode="Move"
    DataTextField="abc" DataValueField="ID" SelectionMode="Multiple">
    <Localization AllToLeft="" AllToRight="" />
    <ButtonSettings TransferButtons="All" />
    </telerik:RadListBox>
 </td>
</tr>

OnTransferring event am updating certain data and the updation is working fine in ontransferring event.
But in the following scenarios transfer not working in both List Boxes,
 1)   if (e.SourceListBox.ID == "radListUnAssigned")   {      
               When transferring, the item selected to transfer is not removing from the SouceListBox (ie, radListUnAssigned) but the
               item is inserted in the Destination  ListBox (ie,radListAssigned ).

  2)  else if (e.SourceListBox.ID == "radListAssigned")  {
        The item selected not inserting to Destinationlistbox (ie, radListUnAssigned) but in
        this case the item is removed from Source list box (ie, radListAssigned)

Here is my code snippet:
       protected void radListAssigned_Transferring(object sender, RadListBoxTransferringEventArgs e)
        {
            if (e.SourceListBox.ID == "radListUnAssigned")
            {                
                int AssignedZipCity = 0;
                int NotAssignZipCity = 0;
                foreach (RadListBoxItem item in e.Items)
                {
                    int isAssigned = -1;
                    isAssigned = < Data updation call >
                    if (isAssigned == 1)
                    {                       
                        AssignedZipCity += 1;
                    }
                    else if (isAssigned == 0)
                    {
                        e.Cancel = true;                      
                        NotAssignZipCity += 1;                 
                    } 
                }
            }
            else if (e.SourceListBox.ID == "radListAssigned")
            {             
                int UnAssignedZipCity = 0;
                int NotUnAssignZipCity = 0;
                foreach (RadListBoxItem item in e.Items)
                {
                    int isUnAssigned = -1;
                    isUnAssigned = <  Data Updation call >
                    if (isUnAssigned == 1)
                    {                       
                        UnAssignedZipCity += 1;
                    }
                    else if (isUnAssigned == 0)
                    {
                        e.Cancel = true;                        
                        NotUnAssignZipCity += 1;
                    }
                }
           }
   Please help me,

  Thanks,



Dimitar Terziev
Telerik team
 answered on 12 Mar 2012
0 answers
77 views
Hi,

           In my sharepoint project page I have a panelbar, a label, a radbutton. In the button click and panelbar item click  i have to postback tha page. In server side, I have written a code for getting the event argument  and set it into the label. In my page I have used RadAjaxManagerProxy for ajax operation. I have placed the radajaxmanager  in MasterPage. In the button click the label is successfully updated. My problem is that  in PanelBar Item click the page is postbacked but the label is not updated.

I have attached the code below
<telerik:RadScriptBlock ID="DemoScriptBlock" runat="server">
        <script type="text/javascript" language="javascript">
 
            function OnClientItemExpand(sender, args) {
 
                $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest(args.get_item().get_value());
 
            }
 
 
            function OnButtonClick(sender, args) {
 
                $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest(sender.get_text());
 
            }
 
        </script>
    </telerik:RadScriptBlock>
    <telerik:RadAjaxManagerProxy ID="PanelbarDemoAjaxmanagerProxy" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="uxProfileList">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="uxProfileList" />
                </UpdatedControls>
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="DemoLabel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="DemoButton">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="DemoButton" />
                </UpdatedControls>
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="DemoLabel" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
  
    <telerik:RadPanelBar ID="uxProfileList" OnClientItemClicked="OnClientItemExpand"
        OnClientItemExpand="OnClientItemExpand" ExpandMode="FullExpandedItem" Width="100%"
        runat="server">
        <Items>
            <telerik:RadPanelItem runat="server" Text="Personal Info" Value="PersonalInfo" Font-Bold="true">
            </telerik:RadPanelItem>
            <telerik:RadPanelItem runat="server" Text="Profile Info" Value="ProfileInfo" Font-Bold="true">
            </telerik:RadPanelItem>
            <telerik:RadPanelItem runat="server" Text="Education" Value="Education" Font-Bold="true">
            </telerik:RadPanelItem>
            <telerik:RadPanelItem runat="server" Text="WorkExperience" Value="WorkExperience"
                Font-Bold="true">
            </telerik:RadPanelItem>
        </Items>
    </telerik:RadPanelBar>
 
    <asp:Label ID="DemoLabel" Text="Demo Label" runat="server"></asp:Label>
 
    
 
    <telerik:RadButton ID="DemoButton" Text="Demo Button" OnClientClicked="OnButtonClick" runat="server">
    </telerik:RadButton>

C#:
protected void Page_Load(object sender, EventArgs e)
        {
            if (IsPostBack)
                DemoLabel.Text = Request["__EVENTARGUMENT"].ToString();
 
        }


Thanks,
Velkumar
Velkumar
Top achievements
Rank 2
 asked on 12 Mar 2012
1 answer
86 views
I have a client requirement to show a status field if a filter is applied to the RadGrid. To get the status I am basically checking to see if the FilterExpression has a .length >0 and then updating a ASP:LITERAL with the value. Here is the code: 

// determin filter status and update UI
bool b = RadGrid1.MasterTableView.FilterExpression.Length > 0;
string status = string.Format("Filtered: {0}", b.ToString(CultureInfo.InvariantCulture));
this.ltrfilterStatus.Text = status;

My question is, what event(s) should I be attaching my code to in order to keep that status current? And, should this code be server-side or client-side (I have versions of both)

I have tried on the Grid.PreRender, which of course fails because it hasn't bound any columns or processed any filters. I have also tried this on pageLoad (client side) and it fails there too.  I have tried ItemBound, ColumnCreated and none seem to provide the proper timing to show the status. I also tried to inject a client-side script on the AjaxRequest of my AjaxManager but the event never seemed to fire. 

Anyone else have any thoughts, or should I just be pushing back to my customer?

Thanks
-Matt
Marin
Telerik team
 answered on 12 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?