Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views
as per the example i have a menu on a panel bar but my panelbar is set to fully expanded ...


so my menu sits at the top of the panel bar ... i want the rest of the panel to have the same back color as the mneu so with a bit of css
<style type="text/css">     
        .RadPanelBar .rpLevel1 .rpFirst     
        {     
            padding-top: 0 !important;     
            padding-bottom: 0 !important;     
            height: 100% !important;     
        }     
        .RadPanelBar .rpGroup .rpLink,     
        .RadPanelBar .rpGroup .rpTemplate     
        {     
            height: 100% !important;     
        }     
    </style> 

i increase the size of the panel then put a div round the menu with the backcolor set.

unfortunately my css affects allthe panel items and ruins the display of all the other items ...


any ideas of how to just affect the one panelbar my menu sits on


thanks
kevin
Paul
Telerik team
 answered on 20 Aug 2009
6 answers
326 views
Hi

I am trying to populate a RadComboBox with a web service and am receiving the following serialization error:

System.InvalidOperationException Occurred.
*********************************************
Message: Unable to handle request.
Data:
TargetSite: System.Web.Services.Protocols.ServerProtocol Create(System.Type, System.Web.HttpContext, System.Web.HttpRequest, System.Web.HttpResponse, Boolean ByRef)
HelpLink: NULL
Source: System.Web.Services

StackTrace Information
*********************************************
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
at System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type type, HttpContext context, HttpRequest request, HttpResponse response)

2) Exception Information
*********************************************
Exception Type: System.InvalidOperationException
Message: Method SearchService.GetSearch can not be reflected.
Data:
TargetSite: System.Web.Services.Protocols.SoapReflectedMethod ReflectMethod(System.Web.Services.Protocols.LogicalMethodInfo, Boolean, System.Xml.Serialization.XmlReflectionImporter, System.Xml.Serialization.SoapReflectionImporter, System.String)
HelpLink: NULL
Source: System.Web.Services

StackTrace Information
*********************************************
at System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, String defaultNs)
at System.Web.Services.Description.SoapProtocolReflector.ReflectMethod()
at System.Web.Services.Description.ProtocolReflector.ReflectBinding(ReflectedBinding reflectedBinding)
at System.Web.Services.Description.ProtocolReflector.Reflect()
at System.Web.Services.Description.ServiceDescriptionReflector.ReflectInternal(ProtocolReflector[] reflectors)
at System.Web.Services.Description.ServiceDescriptionReflector.Reflect(Type type, String url)
at System.Web.Services.Protocols.DocumentationServerType..ctor(Type type, String uri)
at System.Web.Services.Protocols.DocumentationServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

3) Exception Information
*********************************************
Exception Type: System.InvalidOperationException
Message: There was an error reflecting 'GetSearchResult'.
Data:
TargetSite: System.Xml.Serialization.MembersMapping ImportMembersMapping(System.Xml.Serialization.XmlReflectionMember[], System.String, Boolean, Boolean, Boolean, System.Xml.Serialization.RecursionLimiter)
HelpLink: NULL
Source: System.Xml

StackTrace Information
*********************************************
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(String elementName, String ns, XmlReflectionMember[] members, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, XmlMappingAccess access)
at System.Web.Services.Protocols.SoapReflector.ImportMembersMapping(XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, Boolean serviceDefaultIsEncoded, Boolean rpc, SoapBindingUse use, SoapParameterStyle paramStyle, String elementName, String elementNamespace, Boolean nsIsDefault, XmlReflectionMember[] members, Boolean validate, Boolean openModel, String key, Boolean writeAccess)
at System.Web.Services.Protocols.SoapReflector.ReflectMethod(LogicalMethodInfo methodInfo, Boolean client, XmlReflectionImporter xmlImporter, SoapReflectionImporter soapImporter, String defaultNs)

4) Exception Information
*********************************************
Exception Type: System.InvalidOperationException
Message: There was an error reflecting type 'Telerik.Web.UI.RadComboBoxItemData'.
Data:
TargetSite: System.Xml.Serialization.TypeMapping ImportTypeMapping(System.Xml.Serialization.TypeModel, System.String, ImportContext, System.String, System.Xml.Serialization.XmlAttributes, Boolean, Boolean, System.Xml.Serialization.RecursionLimiter)
HelpLink: NULL
Source: System.Xml

StackTrace Information
*********************************************
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.CreateArrayElementsFromAttributes(ArrayMapping arrayMapping, XmlArrayItemAttributes attributes, Type arrayElementType, String arrayElementNs, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportArrayLikeMapping(ArrayModel model, String ns, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportAccessorMapping(MemberMapping accessor, FieldModel model, XmlAttributes a, String ns, Type choiceIdentifierType, Boolean rpc, Boolean openModel, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportMemberMapping(XmlReflectionMember xmlReflectionMember, String ns, XmlReflectionMember[] xmlReflectionMembers, Boolean rpc, Boolean openModel, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportMembersMapping(XmlReflectionMember[] xmlReflectionMembers, String ns, Boolean hasWrapperElement, Boolean rpc, Boolean openModel, RecursionLimiter limiter)

5) Exception Information
*********************************************
Exception Type: System.InvalidOperationException
Message: Cannot serialize member 'Telerik.Web.UI.ControlItemData.Attributes' of type 'System.Collections.Generic.IDictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]', see inner exception for more details.
Data:
TargetSite: Void CheckSupportedMember(System.Xml.Serialization.TypeDesc, System.Reflection.MemberInfo, System.Type)
HelpLink: NULL
Source: System.Xml

StackTrace Information
*********************************************
at System.Xml.Serialization.StructModel.CheckSupportedMember(TypeDesc typeDesc, MemberInfo member, Type type)
at System.Xml.Serialization.StructModel.GetPropertyModel(PropertyInfo propertyInfo)
at System.Xml.Serialization.StructModel.GetFieldModel(MemberInfo memberInfo)
at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns, Boolean openModel, XmlAttributes a, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.InitializeStructMembers(StructMapping mapping, StructModel model, Boolean openModel, String typeName, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportStructLikeMapping(StructModel model, String ns, Boolean openModel, XmlAttributes a, RecursionLimiter limiter)
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(TypeModel model, String ns, ImportContext context, String dataType, XmlAttributes a, Boolean repeats, Boolean openModel, RecursionLimiter limiter)

6) Exception Information
*********************************************
Exception Type: System.NotSupportedException
Message: Cannot serialize member Telerik.Web.UI.ControlItemData.Attributes of type System.Collections.Generic.IDictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]] because it is an interface.
Data:
TargetSite: NULL
HelpLink: NULL
Source: NULL

The web service method trys to return an array of 

RadComboBoxItemData


Any help or insight would be appreciated.
DW Web Team Member
Top achievements
Rank 2
 answered on 20 Aug 2009
7 answers
252 views
Is there a a way to display a second "Waiting" animation on the page at the same time during the standard Rad animation displayed as an overlay during postback events?

We have a RadGrid attatched to a database with a variety of additional controls on the page for filtering results (dropdowns listing out departments, etc. that when selected will trim down the list of returned results displayed in the grid).

When choosing an item in one of the dropdowns to filter the results, the grid fades out and has an overlay of the spinning circle animation briefly, then comes back with the returned results (all normal and as expected).

What I'd like to be able to do, is during the animation that is displayed, display a second animation somewhere else on the same page that occurs at the same time.

So far in testing, I've only been able to fire off the second animation after the postback occurs - the grid fades, spinning circle animation occurs, grid fades back in and displays results, then the second animation fires off.

Is there a way to have the secondary animation occur at the same time as the first one?

Thoughts?

Thanks in advance for any assistance offered,

- Dessie
Dimo
Telerik team
 answered on 20 Aug 2009
1 answer
260 views
I am having a radgrid. It is having one templatecolumn .
 I assigned a uniquename for that gridtemplate column.
I am having a button outside the grid
On clientclick of that button I am accessing all the rows of the grid.
I could able to read all the rows but in the cellID.innerHTML I am getting 

"<INPUT class=inputsNoExpression id=ctl00_Cont_gvWorkingHours_New_ctl01_ctl04_txtSlotName value=Sree name=ctl00$Cont$gvWorkingHours_New$ctl01$ctl04$txtSlotName> "

My value is Sree
How to get that?

If that column is a bound column then I could able to get the value of the cell by cellId.InnerHTML
but here it is a template column and my unique name was set to that.

Please give the code snippet for accessing the gridtemplate cell value.

My Code:



<asp:Content ID="content" runat="server" ContentPlaceHolderID="Cont">
 
            function AddSlot_New()
            {
                debugger;
                var grid = window["<%= gvWorkingHours_New.ClientID %>"];
         
                 for (var i = 0; i < grid.MasterTableView.Rows.length; i++)  
                 {  
                     var row   = grid.MasterTableView.Rows[i]; 
                     var cellID = grid.MasterTableView.GetCellByColumnUniqueName(row, "txtSlotName");    
                     alert(cellID.innerHTML);
                  }

            }

<rad:RadGrid ID="gvWorkingHours_New" runat="server" Skin="Default" AutoGenerateColumns="false"
             OnNeedDataSource="gvWorkingHours_New_NeedDataSource"  OnItemDeleted="gvWorkingHours_New_ItemDeleted">
               <ClientSettings>
                <Selecting AllowRowSelect="true" />
               </ClientSettings>
                <MasterTableView>
              
                    <Columns>
                   
                        <rad:GridTemplateColumn UniqueName="txtSlotName">
                            <ItemTemplate>
                                <asp:TextBox runat="server" ID="txtSlotName" CssClass="inputsNoExpression" Text='<%# Bind("SlotName") %>'></asp:TextBox>
                            </ItemTemplate>
                        </rad:GridTemplateColumn>

</Columns>
                </MasterTableView>
            </rad:RadGrid>
         
       <asp:Button ID="LinkButton1" runat="server" width="97px" CssClass="sf-inputsLinkButton" OnClientClick="return AddSlot_New()" OnClick="LinkButton1_Click"/>
      

 </asp:Content>


Regards
Sreedhar Ambati

Martin
Telerik team
 answered on 20 Aug 2009
1 answer
75 views
Hi,

I have some css files in App_Themes. When i want to use RadUpload control. These css files override to RadUpload style..

How can i disable my css files from RAD Controls..

Thx.
Dimo
Telerik team
 answered on 20 Aug 2009
1 answer
83 views
How can We get "Redcontrols for ASP.NET Ajax", Is it available along with license copy of sitefinity or we need to buy it seperately?

Please confirm as we have urgent requirement of it. Thanks.

Daniel
Telerik team
 answered on 20 Aug 2009
4 answers
147 views
Hi

I am attempting to use the approach in the docs http://www.telerik.com/help/aspnet-ajax/ajxcenterloadingpanel.html
but I can't get it to work.

It was working to position itself at the top of the RadAjaxPanel just fine, but when I added
the addtional code and IsSticky,  it is then stuck to its physical position on the page but the javascript
does not succeed in moving it.  I have amended the code to reflect my specific loading panel name but that is all.

The only differences to the environment shown in the docs is that the page uses a master page,
which is where the script manager is.

The error consol in Firefox shows no errors.

Can you suggest how I can chase down the problem? 

Ubfortunately the page is quite long so the loading panel does need to float.

I am using Q2 2009 version

Thanks for any pointers from anyone who has got this going.

Dimo
Telerik team
 answered on 20 Aug 2009
1 answer
86 views
Hello,
I have find some UI bug with resizing tooltip Width of Last RadGrid Column: If your Grid is placed closed by end of window, and you try resize last right column of right site, then tooltip (that tell you the width of the column ) a hidden by window . See example in url :
Example


Can we use some workaround to fix this?
Dimo
Telerik team
 answered on 20 Aug 2009
3 answers
160 views
Hi

Does anyone know where I can find the schedule for upcoming Service Pack releases on the Telerik site?

Thanks

Nick.
Paul
Telerik team
 answered on 20 Aug 2009
1 answer
157 views
How to display loading for a RadAjaxPanel?
I'm using this example: http://demos.telerik.com/aspnet-ajax/panelbar/examples/applicationscenarios/accessingnestedcontrols/defaultcs.aspx
Princy
Top achievements
Rank 2
 answered on 20 Aug 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?