Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 views
I have a RadToolBar on my page and I am wondering if I can use it as a history bar for where the user has been within my application.  I want it to show the 10 most recently visited pages within my application.  I want the oldest history to be on the left and the most recent history to be on the right.  Some of the page names can get quite long, so I want it to truncate on the left.  In other words, if the toolbar buttons are about to wrap (which I know they don't), then I want the left-most buttons to be truncated or removed entirely.

Problem is, I don't know what screen resolution the user will use on my site, and many of the button names are long.  So, the buttons are added off the page to the right, so you can't see the button with the most recent page visited unless you scroll the page all the way to the right.

Has anyone been able to do this?  Or have a reached the limits of what this control can do?
Yana
Telerik team
 answered on 15 Dec 2009
1 answer
147 views

Dear All,

I have a gridview inside dynamic loaded user-control. This user-control is placed inside a radpane.

However, the grid is populated with a button clicked event then the datatable is stored in a session variable, this variable is casted back in the Need_Datasource event of the grid.

When I click any column header the data is not sorted (Asc or Desc).

What could be the reason of that ...

Best regards
Waleed

Pavlina
Telerik team
 answered on 15 Dec 2009
1 answer
99 views
Hi,

My lingdatasource not working with where claues. Its working previously. But after update Q3 version its not working

  <asp:LinqDataSource ID="SqlTransmital"
        runat="server" ContextTypeName="DataClassesDataContext"
                                        TableName="qry_Data_Transmittals"
                                AutoPage="False" Where="DocNo == @DocNo"
        OrderBy="Client_Rtrn_Description">
                                              <WhereParameters>
                                                  <asp:ControlParameter ControlID="Label1" DefaultValue="0" Name="DocNo"
                                                      PropertyName="Text" Type="String" />
                                              </WhereParameters>
                                </asp:LinqDataSource>
where is the error.

Previous linqdatasource working when i remove where clause

lakmal
Yavor
Telerik team
 answered on 15 Dec 2009
3 answers
212 views
Hi

Is there an example of how to bind to a griddropdowncolumn from behind the code? Also in this case what is the best way to use this in een inline editing mode in a RadGrid?

thanks

D
Princy
Top achievements
Rank 2
 answered on 15 Dec 2009
1 answer
149 views
When i use the Ajax Validator callout Extender for the Rad Editor Control after setting the property of setfocusonerror for the Validator call out extender for required field the fous is not getting in the Radeditor
Dobromir
Telerik team
 answered on 15 Dec 2009
3 answers
106 views
I have a TabStrip with a RadGrid. 
I have a series of tabs that is enabled or disabled depending if the user selects, adds, deletes or modifies the grid. 
(ex: the "Removed" tab is enabled when the user removes a row from the grid)

Here's how I'm enabling/disabling the tabs:
            for ( var i = 0; i < tabstrip.Tabs.length; i++ ) 
            { 
                //  Get the current tab text. 
                var tabText = tabstrip.Tabs[i].Text; 
                 
                //  Search for the old count number between the parens, 
                //  then truncate it completely. 
                tabText = tabText.substring( 0, tabText.indexOf( "(" ) ); 
 
                //  Add the new count number, and set the tab text. 
                tabText += "(" + tabCounts[i] + ")"
                tabstrip.Tabs[i].SetText( tabText ); 
 
                //  Enable/Disable based upon the bit mask. 
                //  tab is always enabled. 
                var enable = (i == 0) || (tabCounts[i] > 0); 
                if ( enable ) 
                { 
                    tabstrip.Tabs[i].Enable(); 
                } 
                else 
                { 
                    var theTab = tabstrip.Tabs[i]; 
                    theTab.Disable(); 
                    theTab.DomElement.setAttribute( "disabled"false ); 
                } 
            } 

Functionality wise, it works fine in both IE7 and IE8.  However, in IE8, the text inside the disable tabs is a bold grey-ed out font which is hard to read.  In IE7, the font is black.  Any reason why it's like this?
T. Tsonev
Telerik team
 answered on 15 Dec 2009
5 answers
232 views
Hello

Can some one tell me how to show the detail grid in expanded mode always and what are the settings in aspx and code behind, i tried setting "HierarchyDefaultExpanded = true" 
but it didnt helped me

Thank in advance
Bala

 

Princy
Top achievements
Rank 2
 answered on 15 Dec 2009
4 answers
172 views
i am using radrotator for banner rotating .how i can count impression of each banner ?
Fiko
Telerik team
 answered on 15 Dec 2009
3 answers
1.1K+ views
Dear sir,
I am using telerik dock serialized/Deserialized concept.

but when upload on server it shows an error, it works good at local mechine, but on server shows an following error :

in web.conf.

<

 

sessionState timeout="500"/>

 



Server Error in '/Test' Application.

Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.

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.Web.HttpException: Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SerializationException: Type 'Telerik.Web.UI.DockState' in Assembly 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' is not marked as serializable.]
   System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type) +7733643
   System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context) +258
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo() +111
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter) +283
   System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Type objectType, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter) +45
   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.WriteArray(WriteObjectInfo objectInfo, NameInfo memberNameInfo, WriteObjectInfo memberObjectInfo) +178
   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo) +7631288
   System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) +461
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) +134
   System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1577

[HttpException (0x80004005): Unable to serialize the session state. In 'StateServer' and 'SQLServer' mode, ASP.NET will serialize the session state objects, and as a result non-serializable objects or MarshalByRef objects are not permitted. The same restriction applies if similar serialization is done by the custom session state store in 'Custom' mode.]
   System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer) +1662
   System.Web.SessionState.SessionStateItemCollection.WriteValueToStreamWithAssert(Object value, BinaryWriter writer) +34
   System.Web.SessionState.SessionStateItemCollection.Serialize(BinaryWriter writer) +606
   System.Web.SessionState.SessionStateUtility.Serialize(SessionStateStoreData item, Stream stream) +239
   System.Web.SessionState.SessionStateUtility.SerializeStoreData(SessionStateStoreData item, Int32 initialStreamSize, Byte[]& buf, Int32& length) +72
   System.Web.SessionState.OutOfProcSessionStateStore.SetAndReleaseItemExclusive(HttpContext context, String id, SessionStateStoreData item, Object lockId, Boolean newItem) +87
   System.Web.SessionState.SessionStateModule.OnReleaseState(Object source, EventArgs eventArgs) +560
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

can u plz give me a solution ASAP

thanks with regards
T. Tsonev
Telerik team
 answered on 15 Dec 2009
2 answers
134 views
I have added some columns dynamically to a statically declared Grid with enable sorting set true.
When I click a column title for sorting the grid columns are dissapeared on postback, and also the SortCommand doesn't being fired.
What's the problem?
Libertad
Top achievements
Rank 1
 answered on 15 Dec 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?