Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
110 views
Hi,
can i use ASP.NET AJAX scheduler in ASP.NET MVC 3.0 project.can u send a sample project.
 
Thanx,
Alok
Peter
Telerik team
 answered on 04 Jan 2012
2 answers
286 views
I've upgrade to latest ASP.NET AJAX version, after upgrade I get this error about for my WebBlue skin:

Telerik.Web.UI.RadFormDecorator with ID='FormDecorator1' was unable to find embedded skin with name 'WebBlue'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.


I checked I've added Telerik.Web.UI.Skins.dll as described in :

http://blogs.telerik.com/blogs/posts/11-11-15/separate-skin-assembly-in-radcontrols-for-asp-net-ajax-with-q3-apos-11.aspx

When I change skin to default the error disappears. Any helps?

Regards
Mazdak
Rumen
Telerik team
 answered on 04 Jan 2012
1 answer
75 views
Hello,

The Process() method in custom async handlers is great. However, it is called only upon completed download of a file.

Is there a way to hook into an earlier handler event at the moment the download is initiated? The idea is that I would like to check whether the file is valid as early as possible. It looks bad to have the user wait for a 50MB upload only to tell at the end that the file cannot be uploaded (e.g. if it already exists). 

Thank you,
Stephan

Plamen
Telerik team
 answered on 04 Jan 2012
2 answers
147 views
If the Quick Access toolbar is enabled for the RibbonBar then in all browsers except IE9 a javascript error occurs and prevents everything from working.
If I disable the QA toolbar all works fine.
The error occurs in the initialize method of the RibbonBarQuickAccessToolbarItem object.

I have attached a screenshot of the error as seen in the developer tools of Safari 5. 
Kate
Telerik team
 answered on 04 Jan 2012
1 answer
191 views

When I use the RADListBox with grouped items. Everything displays correctly until I perform a client side transfer from one listbox to another. The transfered items append to the bottom of the listbox and are not grouped. How can I transfer and have everything regroup client side.



<script type="text/javascript">


        function onClientTransferred(sender, args) {


            //alert("transfer from id:" + args.get_sourceListBox().get_id());
            //alert("transfer to id:" + args.get_destinationListBox().get_id());


            var fromList = args.get_sourceListBox().get_items();
            var fromItem = args.get_item();
            var fromItemAttributes = args.get_item().get_attributes();
            var fromItemCat = fromItemAttributes.getAttribute("DataGroupField");
            alert("from item cat:" + fromItemCat);


            args.get_destinationListBox().trackChanges();
            var toList = args.get_destinationListBox().get_items();
            var toItem = args.get_destinationListBox().findItemByValue(args.get_item().get_value());
            var toItemAttributes = toItem.get_attributes();
            toItemAttributes.setAttribute("DataGroupField", fromItemCat);
            toItem.attributes = toItemAttributes;


            var index = fromList.indexOf(toItem);
            toList.removeAt(index);
            toList.insert(index, toItem);


            alert("to item:" + toItem.get_text());
            args.get_destinationListBox().commitChanges();


        }
</script>


<rei:REIRadListBox ID="lstFavItems" runat="server" AllowTransfer="true" TransferToID="lstTopFavItems" EnableDragAndDrop="true" EnableEmbeddedSkins="false"  DataTextField="DisplayText" DataValueField="UserFavoriteId" SelectionMode="Multiple" EnableFiltering="true" FilterBoxEmptyMessage="Type here to filter" Height="200" Width="370" 
TransferMode="Move"  OnTransferred="RadListBox_Transferred" AllowReorder="true"  OnClientTransferred="onClientTransferred"  />




<rei:REIRadListBox ID="lstTopFavItems" runat="server" Height="200" Width="370" EnableDragAndDrop="true" EnableFiltering="true" EnableEmbeddedSkins="false" FilterBoxEmptyMessage="Type here to filter" 
DataTextField="DisplayText" DataValueField="UserFavoriteId"  AllowReorder="true" />
Dimitar Terziev
Telerik team
 answered on 04 Jan 2012
6 answers
1.1K+ views
How to remove dynamically created column from Radgrid.
Shyam
Top achievements
Rank 1
 answered on 04 Jan 2012
7 answers
943 views
I have a RadWindow (contents are html not iframe):

<telerik:RadWindow ID="radwindow1" VisibleTitlebar="false" VisibleStatusbar="false"<br>        BorderWidth="0" Title="Image" runat="server" VisibleOnPageLoad="false" Modal="true"<br>        Autosize="true"><br>        <contenttemplate>                  <br>            <img alt="" id="image1" />          <br>        </contenttemplate><br>    </telerik:RadWindow>


The image1 size is unknown, it can be any size. Click a button will open radwindow1 using javascript:
var oWnd = $find('<%=radwindow1.ClientID %>');<br>        if (oWnd) {            <br>            oWnd.autoSize(true);<br>            oWnd.show();<br>}

It works fine on Firefox but not in IE 8. First time open it on IE 8 will work fine but next time will show pop up with scroll bars, then next time will be fine and next time not.

My doctype:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Thank for your time!
Svetlina Anati
Telerik team
 answered on 04 Jan 2012
1 answer
136 views
Hi,

I am wondering if multiple Radgrids can be put side-by-side so that end user gets a feeling that those are the same grid?
In practise, if end user scrolls down a grid, both grids are scrolled down at the same time.

I hoped I could use single RadGrid in my application, but it seems that one can't 'drag to select' Items in a column. It seems that 'drag to select' functionality always selects entire grid rows? My application should allow the end user to 'drag to select' just one or multiple items in a specific column.

BR,
Timo


Marin
Telerik team
 answered on 04 Jan 2012
2 answers
152 views
Hi,

I'm using the panelbar and whant the first panel to expand, on start.

This is my panel code:
<telerik:RadPanelBar ID="RadPanelBar_Portfolio" Width="100%" Height="100%" CssClass="masterPanelBar"
    ExpandMode="FullExpandedItem" runat="server" >
    <Items>
        <telerik:RadPanelItem Value="MainPanel" Selected="true" Expanded="True">
            <HeaderTemplate>
                <asp:label ID="Label8" Text="Portfolio" Font-Bold="true" runat="server" />   
            </HeaderTemplate>
            <ContentTemplate>
                <table id="tbl_HeaderPortFolio" runat="server">
                    <tr>
....
                    </tr>
                </table>
            </ContentTemplate>
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>

The panel bar is inside a RadSplitter.
The radsplitter is inside a dynamically loaded control, that is in a RadAjaxPanel.

As you can see, I set Selected="true" Expanded="True" 
but that does not show the panel expanded. I always have to click the bar to see its content (the table)

I tried also to set it in code :
With RadPanelBar_Portfolio.FindItemByValue("MainPanel")
    .Expanded = True
    .Selected = True
    .Expanded = True
    .PreventCollapse = True
End With
and even in the PreRender (RadPanelBar_Portfolio.Items(0).Expanded = True)

and I tried setting it in JS:
function ExpandItem()
{
    var panelbar = <%= RadPanelBar_Portfolio.ClientID %>;
    var item = panelbar.FindItemByValue("MainPanel");
    if (item)
    {
        item.Expand();
    }
    else
    {
        //alert("Item with text 'MainPanel' not found.");
    }
}
 
ExpandItem;

But, no luck, the panelbar ALWAYS needs to be clicked first...

Please check screenshot for more details.

Could you tell me how I can see the first panel expanded?

Thanks

Erik
Kate
Telerik team
 answered on 04 Jan 2012
1 answer
179 views
Hi ,

I am using a spliter control in my page and thr are two rad panel

spliter  ---- RadPane1 -- radListview----item1,item2,item3  all are template field and in side Item there are some link and div
          -----RadPane2  -- using contenturl   i am loding a page here



how can i access in content page of radpane2 controls of tadpane1 like item exist in radlistview on client and server side

Thanks
vivek

Code
<telerik:RadSplitter  ID="RadSplitter1" runat="server"
            EnableEmbeddedBaseStylesheet="false" BorderStyle="None" EnableEmbeddedScripts="true"
            LiveResize="True" Width="940px">
            <telerik:RadPane ID="RadPane1" runat="server" CssClass="myStepContainer"
                Height="500px">
                <!-- Generate the left panel for the wizard steps-->
                 
                <telerik:RadListView ID="WizardStepList" runat="server" ItemPlaceholderID="WizardStepsContainer"
                    DataKeyNames="Id" DataSourceID="WizardStepDataSource">
                     
                    <LayoutTemplate>
                        <%--<fieldset> --%>
                         
                        <asp:Panel ID="WizardStepsContainer" runat="server" />
                        <%--</fieldset>--%></LayoutTemplate>
                    <ItemTemplate>
                        <div class='<%#Eval("StatusCssClass") %>' id="workflowItem" runat="server">
                            <p class="toggler">
                                <asp:LinkButton ID="NStep" index='<%# Index++ %>' CssClass='<%#Eval("StepCssClass") %>'
                                    Text='<%#Eval("StepDisplayText") %>' runat="server" OnClick="NavigateStep" OnClientClick='<%# "return navigate(\"" + (Index) + "\");" %>'></asp:LinkButton></p>
                        </div>
                    </ItemTemplate>
                </telerik:RadListView>
            </telerik:RadPane>
            <telerik:RadPane ID="contentPane" EnableEmbeddedScripts="true" runat="server" ContentUrl="about:blank"
                CssClass="container" Width="790px" Height="600px">
                <div id="Div1" runat="server" class="workflowButtonsHoriz">
                    <asp:Button CssClass="prevButton" ID="Previous" title="Previous" runat="server" OnClick="Previous_Click" />
                    <asp:Button CssClass="nextButton" ID="Next" title="Next" runat="server" OnClick="Next_Click" />
                    <span style="display: none">
                        <asp:Button ID="refresh" runat="server" OnClick="Refresh" /></span>
                </div>
                <div class="clearBoth">
                </div>
            </telerik:RadPane>          
        </telerik:RadSplitter>
Petur Subev
Telerik team
 answered on 04 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?