Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
358 views
Hi..
I have a grid with comboboxes - how do I programmatically set the values and also set the data source in C#.

How do I find a ref to the control in the code behind?
thanks again
Princy
Top achievements
Rank 2
 answered on 21 Aug 2008
4 answers
168 views

I am using radgrid for asp.net version 4.5 (r.a.d.controlsQ4 2006).
The following code works when I run on visual studio but errors out when deployed to the IIS web servers -

Dim sortExp As GridSortExpressionCollection = RadGridCalendar.MasterTableView.SortExpressions()
If Not sortExp Is Nothing Then
            Session.Add("CAL_SORT", sortExp)
        'Else
            Session.Add("CAL_SORT", "")
 End If
I use the above session variable and apply the sort to another RadGrid.
The error I get is -
Exception type: SerializationException     Exception message: Type 'Telerik.WebControls.GridSortExpressionCollection' in Assembly 'RadGrid.Net2, Version=4.5.0.0, Culture=neutral, PublicKeyToken=ec87bc2939ec45df' is not marked as serializable.

The stack trace is -

Stack trace:    at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)

   at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)

   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()

   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)

   at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)

   at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)

   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)

   at System.Web.Util.AltSerialization.WriteValueToStream(Object value, BinaryWriter writer)

  Custom event details:


Any help will be appreciated.
Thanks.

Lisa
Top achievements
Rank 1
 answered on 21 Aug 2008
2 answers
151 views
Hi ;
i am currently using the newest version of  RadRotator for rad controls for asp.net ajax.  I'm trying to create a webpart that reads from a list in sharepoint 2007.  upon looking at some online documentation on how to do this, all i can find is http://blogs.telerik.com/ToddAnglin/Posts/07-08-27/How_to_Create_RadRotator_Programmatically.aspx  which unfortunately deals with the older version of radrotator.  In particular there is a line  in that document:

void img_DataBinding(object sender, EventArgs e)

{

Image img = sender as Image;

RadRotatorFrame frame = img.NamingContainer

as RadRotatorFrame;

img.ImageUrl = (

string)frame.DataItem;

}

that uses RadRotatorFrame object, that is not present in the current version of RadRotator.  I'm stuck on how to proceed from here.

any help would be appreciated.

thanks
charles

Charles Faramarzirad
Top achievements
Rank 1
 answered on 20 Aug 2008
2 answers
125 views
I set theme Web20 for the whole application but I want my GridDropDownColumn to look like a RadCombobox with skin Vista. I don't seem to find any property for that.
Eliyahu Goldin
Top achievements
Rank 1
 answered on 20 Aug 2008
2 answers
244 views
This only reproduces once the code is on a non-local server.

I have an AjaxControlToolkit AutoCompleteExtender that works just fine locally. As soon as I put it on the server, the page generates an "AjaxControlToolkit is undefined" error.

After digging around to root cause the problem, I noticed that this error only occurs when I am using the RadScriptManager. If I am using the ToolkitScriptManager, the control works just fine on the server.

Is there some setting that I am missing for the RSM?

Thanks

Jay
Jay
Top achievements
Rank 1
 answered on 20 Aug 2008
3 answers
170 views
Do you have "smaller" sample websites to open in Visual Studio?

I have a quad-core, w/ 4 gig of mem, and when I open the sample website, it takes forever to load/build/debug, etc. Often it just hangs and then crashes because the site is so large. It would be very helpful to open samples of individual controls ... like the TreeView, and another for the Grid control, etc.

Does anyone else have problems with the enormous individual sample site?

Thanks!
Jay
Top achievements
Rank 1
 answered on 20 Aug 2008
4 answers
181 views
Hi,

I am using Advanced Insert Template for scheduler. Can I access it on client side?

Thanks
Goksun
Goksun
Top achievements
Rank 1
 answered on 20 Aug 2008
2 answers
163 views
The RadTabStrip Deafult Skin that is being displayed in my project is different than the one in the samples.

My RadTabStrip is all silver and I get none of the black highlights or the black nested tabs.

Can you tell me why your samples show a different Skin than what ships with the product.

See this link:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/TabStrip/Examples/Appearance/Skins/DefaultCS.aspx - and choose default - notice the black areas in the tab, but the thumbnail shows all silver, which is what i see on my tab.

Also, the .psd that you can download here:  http://www.telerik.com/support/product-skins-downloads.aspx - shows the black highlighting and nested tabs.

As you can guess, I would like to use the black version.

Thanks,
Kevin
Peter C
Top achievements
Rank 1
 answered on 20 Aug 2008
1 answer
91 views
Hello,
      We have a custom web user control button on which it creates Radwindow dynamically and open radwindow with specified size mentioned in user control creation. We have this button in our pages under different panels and these panels and made visible true or false based on radcombbox selection which is controlled by ajax manager for ajax purpose. When the page first time gets loads and when clicking the button opens the radwindow in correct size as specified. But once we change radcombobox which shows another panel with different button which opens radwindow. But this window size is very small and not as equivalent as specified in the web user control. If i remove the ajax stuff and make it regular postback where the full page refreshes then everything works fine. Only when ajax is applied i am getting this resize issue. Please let me know is anything i have to do to make it work.

Regards,
Elango
Georgi Tunev
Telerik team
 answered on 20 Aug 2008
2 answers
210 views
Problem appears in 2008.2.723.20 and seem to be happening in some skins but no others.
When you first bring up any of the file manger dialogs, the upload button looks fine. However after selecting a file to upload (using browse button) Upload button loses its CSS and turns into regular link.

This have been observed in WebBlue, Vista and Web20.
Similar behaviour observed in Default skin. Upload button does not turn into link, but becomes noticably bigger.
I have not tried other skins.

Also (though maybe unrelated) firebug shows that one of the WebResource.axd requests, that happen when loading file manager, results in 404, which makes me wonder if it should contain required CSS for the upload button. Again, this is in some skins but not others.
Rumen
Telerik team
 answered on 20 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?