Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
474 views
Hi there.
I am almost this close to buying the RadControls ASP.NET Ajax. I do however need to see if this will work.
Can someone kindly tell me how to style the menu items from:

http://demos.telerik.com/aspnet-ajax/menu/examples/appearance/imageonly/defaultcs.aspx?#qsf-demo-source

similar to the following:

http://www.stunicholls.com/menu/pro_dropdown_2.html 

I am not sure how the styling works and how to make it look very similar/close to that as possible. I would really appreciate any samples/advice on this.

Even the sample shown on the telerik demo page link above would be great, showing me all the styling colors, fonts, background etc... etc... but not using images (unless to make it a standing out/3D effect but have the menu name as text only)

Thanks again
Princy
Top achievements
Rank 2
 answered on 16 May 2013
1 answer
236 views
Hello,

I need to place toolbar items in two lines
But don't know how to do. here is attached Image
Ajay
Top achievements
Rank 1
 answered on 16 May 2013
4 answers
368 views
I have a radGrid in a user control which is loaded dynamically into my page via code.  I am able to sort any of the sortable columns in ascending order by clicking the column header.  when I attempt to change the sort to descending by clicking a second time on an already sorted column, the sortable column immediately preceding the column I clicked on gets sorted in ascending order.  This does not happen when this same user control is referenced directly in the page (not loaded dynamically).  Vewstate is enabled.

This is just really odd behaviour which has me stumped.  i thought it might be that the sorting was attempting to use a column index for sorting, and was somehow using the wrong index.  I added a breakpoint to the grid's SortCommand event handler and the information in the GridSortCommandEventArgs (e) says that the sort expression that will be applied on the second click is from the preceding column, not the column I clicked.  I am not hiding or showing columns and the column that is ultimately sorted is not necessarily the column immediately preceding the column I clicked...it is the preceding column that is sortable.

I have attached screen shots of my grid after the first sort and second sort on the same Status column.  In these screen shots, the Recipients column is not sortable.

Thanks for the help!

Sean Severson
Eyup
Telerik team
 answered on 16 May 2013
1 answer
136 views
Is there a way for my users to download multiple files from Web Server to their own drive.
I managed to do the Upload using AsyncUpload, but will need to do the Download as well?
Note: they may need to download up to 50 files so downloading the files one by one is not an acceptable solution.
thank you in advance for your assistance.
Princy
Top achievements
Rank 2
 answered on 16 May 2013
3 answers
392 views
Hello,

i am having this error on my application  ( Framework 4, Silverlight 5, telerik asp net :2013.1 417, telerik Silverlight 2012.3 1129)
both telerik Silverlight and telerik asp net are on the same application

Server Error in '/XEMii.Web' Application.

Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. Le fichier spécifié est introuvable.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. Le fichier spécifié est introuvable.

Source Error:

Line 47: <body> Line 48: <form id="form1" runat="server"> Line 49: <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> Line 50: </telerik:RadScriptManager> Line 51: <telerik:RadSkinManager ID="QsfSkinManager" runat="server" ShowChooser="false" />

Source File: c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx    Line: 49

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' could not be loaded.

=== Pre-bind state information === LOG: User = AZECULLY\cch LOG: DisplayName = System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e (Fully-specified) LOG: Appbase = file:///C:/XEMii_Source/XEMii/XEMii-3.0.152.0/FrameWorkXEMI/FrameWorkXEMI/ LOG: Initial PrivatePath = C:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\bin Calling assembly : Telerik.Windows.Controls, Version=2012.3.1129.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7. === LOG: This bind starts in default load context. LOG: Using application configuration file: C:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\web.config LOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config. LOG: Post-policy reference: System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e LOG: The same bind was seen before, and was failed with hr = 0x80070002. 

Stack Trace:

[FileNotFoundException: Could not load file or assembly 'System.Windows, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' or one of its dependencies. Le fichier spécifié est introuvable.] System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type) +0 System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext) +180 System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments) +192 System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg) +115 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent) +426 System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType) +103 System.Reflection.RuntimeAssembly.GetCustomAttributes(Boolean inherit) +33 System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(Assembly assembly) +76 System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly() +399 System.Web.UI.ScriptManager..ctor() +26 Telerik.Web.UI.RadScriptManager..ctor() +68 ASP.gspaf_a_dosfac_aspx.__BuildControlRadScriptManager1() in c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx:49 ASP.gspaf_a_dosfac_aspx.__BuildControlform1() in c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx:48 ASP.gspaf_a_dosfac_aspx.__BuildControlTree(gspaf_a_dosfac_aspx __ctrl) in c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx:1 ASP.gspaf_a_dosfac_aspx.FrameworkInitialize() in c:\XEMii_Source\XEMii\XEMii-3.0.152.0\FrameWorkXEMI\FrameWorkXEMI\GSPAF_A_dosfac.aspx.cs:912308 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +54 System.Web.UI.Page.ProcessRequest() +78 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.gspaf_a_dosfac_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\xemii.web\81328331\489952e6\App_Web_ev1wcm0f.9.cs:0 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 




Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272             
    

do i miss a reference assembly?

Regards,
Yana
Telerik team
 answered on 16 May 2013
1 answer
356 views
  <telerik:GridTemplateColumn UniqueName="BankType" AllowFiltering="false"  EditFormHeaderTextFormat=" ">
                    <EditItemTemplate>
                        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="Fieldset"
                            Skin="Outlook" />
                        <div style="height: 140px; width: 142px; float: left; margin-left: -20px; margin-bottom: 20px;
                            border: rgb(102,102,102) solid 1px; border-radius:8px; padding: 0px 0px 0px 5px;
                            font-family: Bold; font-size: 12px; position: relative; bottom: 100px; top: 10px;
                            left: 20px;">
                            <span style="font-weight: normal; font-family: Verdana; background-color:rgb(215,230,255);
                                font-weight: normal; margin-top: 4px; left: 10px; position: relative; top: -10px;">&nbsp;Bank
                                Type</span>
                            <telerik:RadGrid ID="RgList1" runat="server" AutoGenerateColumns="false" ShowHeader="false"
                                CssClass="RgListPosition1">
                                <MasterTableView AutoGenerateColumns="false">
                                    <Columns>
                                        <telerik:GridTemplateColumn  HeaderText="BankTypeName">
                                            <ItemTemplate>
                                                <%# Eval("BankTypeName")%>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn UniqueName="chkBankList1" HeaderText="Select">
                                            <ItemTemplate>
                                                <asp:CheckBox ID="chkBankTypeName" runat="server" />
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                    </Columns>
                                </MasterTableView>
                                <ClientSettings EnableRowHoverStyle="false">
                                <Animation AllowColumnReorderAnimation="false" />
                                </ClientSettings>
                            </telerik:RadGrid>
                        </div>
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>


The above  code inside  another "Rad Grid view" ,when insert and edit mode, I want select particular check boxes   ..but here some problem is  occurs
that is when  I am put mouse on some "Invoices" or "Direct Deposit" entire grid is  "shakes"  I don't want that type functionality,I want normal row hover .


1.Other grid view row hover is "true".
2.Inside Grid view Row is "false" .
but getting some shake in inner grid how remove that "shake" or"blur" in inner help me....   

When ever i am Putting Mouse over the particular column the entire "Inside Rad Grid View"  is Shake....how solve the problem
Venelin
Telerik team
 answered on 16 May 2013
7 answers
119 views
Hi guys,
yesterday my company downloaded Visual Studio 2010.I conerted web app from VS2005 to VS2010 and try to run.When I hit redirect button I am receiving this error:

Line: 6
Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '�'.

Or when put searching criteria and click on button I received this error:
Line: 2788
Error: Object doesn't support this property or method

But again in VS2005 working just fine.

Thanks so much.
Slav
Telerik team
 answered on 16 May 2013
1 answer
104 views
Hi Telerik,

How can I access a RadControl in my RadDock from C#?

Thankyou,
Saira
Shinu
Top achievements
Rank 2
 answered on 16 May 2013
4 answers
181 views
How can i select a radgrid column with checkbox and add that selected columns to a radlist?  Ä° am new on telerik and i cant do it for a while... please help
Hilmi
Top achievements
Rank 1
 answered on 16 May 2013
2 answers
140 views
My app was working correctly with a "select" box (drag and drop did not work) under 2010.2.713.35.
Today I upgraded to 2013.1.417.40 (to see if I could get the drag and drop to work) and it quit working altogether.

As a test, I copied the demo app from this page ...
http://demos.telerik.com/aspnet-ajax/asyncupload/examples/draganddrop/defaultcs.aspx
and discovered that if fails in the same way.

When I run the Google developer tools on your demo page, it works correctly of course.
When I run the Google developer tools on my copy of your demo page, it fails when attempting to take the selected files and create/update the displayed list.
See the attached screen shot for the point of failure.
It is able to find the div.ruDropZone that it wants to manipulate, but the _proto_ for that element does not have an addBack() method that your axd expects.
Presumably, some other piece of your code has extended those elements with those methods. 

Does your script manager do that?  If so, you should explain that in the documentation ... that RadAsyncUpload requires the RadScriptManager.

Please advise.

Markup in my page:
       <td>
       <asp:updatepanel id="upUpload" runat="server" updatemode="Always" >
           <contenttemplate>
 
      <div class="RoundAll" id="DropZone2" style="height: 150px; width: 320px; background-color: ghostwhite; border: 1px dashed Navy; text-align: center; padding-left: 20px; padding-right: 20px; vertical-align: top; display:inline-block;">
     <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload2" MultipleFileSelection="Automatic" DropZones=".DropZone1,#DropZone2"/>
 
   <div class="DropZone1">
       <p>Custom Drop Zone</p>
       <p>Drop Files Here</p>
   </div>
   <div id="Div3">
       <p>Custom Drop Zone</p>
       <p>Drop Files Here</p>
   </div>
</div>
           </contenttemplate>
 
       </asp:updatepanel>
       </td>

Supporting Javascript:

<script language="javascript" type="text/javascript">
 
    var $ = $telerik.$;
    function pageLoad() {
 
    $(document).bind({ "drop": function (e) { e.preventDefault(); } });
  
    var dropZone1 = $(document).find(".DropZone1");
    dropZone1.bind({ "dragenter": function (e) { dragEnterHandler(e, dropZone1); } })
             .bind({ "dragleave": function (e) { dragLeaveHandler(e, dropZone1); } })
             .bind({ "drop": function (e) { dropHandler(e, dropZone1); } });
  
    var dropZone2 = $(document).find("#DropZone2");
    dropZone2.bind({ "dragenter": function (e) { dragEnterHandler(e, dropZone2); } })
             .bind({ "dragleave": function (e) { dragLeaveHandler(e, dropZone2); } })
             .bind({ "drop": function (e) { dropHandler(e, dropZone2); } });
     
    }
  
    function dropHandler(e, dropZone) {
        dropZone[0].style.backgroundColor = "Red";
    }
  
    function dragEnterHandler(e, dropZone) {
        var dt = e.originalEvent.dataTransfer;
        var isFile = (dt.types != null && (dt.types.indexOf ? dt.types.indexOf('Files') != -1 : dt.types.contains('application/x-moz-file')));
        if (isFile || $telerik.isSafari5 || $telerik.isIE10Mode || $telerik.isOpera)
            dropZone[0].style.backgroundColor = "White";
    }
  
    function dragLeaveHandler(e, dropZone) {
        if (!$telerik.isMouseOverElement(dropZone[0], e.originalEvent))
            dropZone[0].style.backgroundColor = "Green";
    }
</script>

Hristo Valyavicharski
Telerik team
 answered on 16 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?