Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
68 views
I am currently adjusting the sunset skin. I am trying to adjust the background image color and size of the 2nd tier hover style, but I am running into issues. The image is SubItemStates.png. It consists of a 1000px bar with the right end cap is cutoff and placed under the bar on the right side of the image. I have increased the height of the bar by about 10px. Here is the style definition for this item:

.RadPanelBar

 

.rpGroup .rpLink,

 

.RadPanelBar

 

.rpGroup .rpOut

 

{

 

background-color: transparent;

 

 

background-image: url('Images/SubItemStates.png');

 

 

background-repeat: no-repeat;

 

}

If I remove the reference to the ".RadPanelBar .rpGroup .rpLink" It will display the bar normally but the right end cap is missing. If the reference is included It will display the top part of the end cap but it also includes the bottom 10px of the bar. If I could adjust the height, add 10px to the original background (bar image) size, using a CSS style that would fix the problem. But I cannot figure out were to add it.

I don't really understand this method of displaying a sizeable background image bar. Any help in understanding this would be greatly appreciated, more importantly how to fix it would be even more appreciated!!!

Thank you!!

~Jason

Kamen Bundev
Telerik team
 answered on 12 May 2009
1 answer
134 views
I have put in the RadGrid these column:

<telerik:GridClientSelectColumn />  

Now want to get these selected rows in code behind, can you give me please an example. I only need the foreignkey of the row.



Shinu
Top achievements
Rank 2
 answered on 12 May 2009
6 answers
381 views
Hi,

I want to put a default value in one the column  whenever a new is inserted. This is hidden column.

Suppose i have three fields :  productNumber,ProductName,ProductTitle_Hidden

I will display two fields and ProductTitle_Hidden is hidden field and i want to add some default value from a label which is placed on the form.

Its like  ProductTitle_Hidden=label1.text

whenever a new row created this should be added automatically.

Thanks.

Regards
Syed Arshad
Shinu
Top achievements
Rank 2
 answered on 12 May 2009
1 answer
179 views
Hello, i have a GridDateTimeColumn which has some invalid dates like 01.01.1753

Now i want to replace that date with string.empty, where must i do it, can you give me an example please.





Shinu
Top achievements
Rank 2
 answered on 12 May 2009
1 answer
127 views
Hi
I have a radgrid consisting of a GridClientSelectColumn on the left and a GridBoundColumn on the right like this:

 

<Columns>

 

 

<telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" />

 

 

<telerik:GridBoundColumn DataField="MailingEnvelopeID" DataType="System.Int32" HeaderText="MailingEnvelopeID" ReadOnly="True" SortExpression="MailingEnvelopeID" UniqueName="MailingEnvelopeID" Visible="False">

 

 

<HeaderStyle Width="0px">

 

 

</HeaderStyle>

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="MailingEnvelope" HeaderText="Mailing Envelope" ReadOnly="True" SortExpression="MailingEnvelope" UniqueName="MailingEnvelope">

 

 

<HeaderStyle Width="320px">

 

 

</HeaderStyle>

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

As long as there is less data than available rows on the screen the control   
displays perfectly.&nbsp; When additional rows arise a vertical scrolbar appears   
on the right hand side and the displaced GridBoundColumn partially obscures the   
GridClientSelectColumn.&nbsp; Furthermore as the text in the header is slightly   
larger than the default size there is an unsightly gap at the top right of the   
scrollbar which is caused by the header&nbsp;for the scrollbar remaining at the   
default height.

Could you advise on how best to handle these
issues?

Thanks

Simon. 

Dimo
Telerik team
 answered on 12 May 2009
5 answers
252 views
Hi,

Is there a way to load radwindow in the background without it being visible? I need load the radwindow on Page_Load but want it to remain hidden until I click the respective button for it to show.

If I set  VisibleOnPageLoad to "False", the radwindow is not loaded and starts loading only when I call the open or show methods.

Any help in this regard will by highly appreciated.

Regards ...

Arshad

Georgi Tunev
Telerik team
 answered on 12 May 2009
3 answers
75 views
Hi,

I have a RadGrid and whenever an "Add a new Record" or "Edit" button is pressed, i want to hide few databound details. I can able to hide textboxes when i press "Add a new record" but i can able to see Labels besides these textboxes. 

How to hide labels beside these textboxes.

Moreover, during "Edit" button is pressed nothing is hiding, i can able to see labels and textboxes.  Please tell me how to hide labels and textboxes during "Add a new record" or "Edit" button is pressed.

Thanks.
Princy
Top achievements
Rank 2
 answered on 12 May 2009
0 answers
57 views
Hi

I have looked everywhere to find this out but to no avail. Can anyone tell me how i can check what checkbox has been checked please? I am trying to load/filter data based on what box has been checked.

Thanks

Bob
bob
Top achievements
Rank 1
 asked on 12 May 2009
8 answers
194 views

The more complex my forms get the more I see control events fired that I'd like to eliminate.  With a completely ajaxified site, additional rules come into play about what gets processed on the server even if we're only doing partial postbacks.  To minimize the burden on the server, some activity should be moved to the client.

None of this is unique to RadControls, but effective use of RadControls is only possible when someone has a solid handle on all of the base concepts.  I know that my understanding of the ASP.NET page life cycle is limited and only time and more reading will help to internalize the entire process.  But I know I'm not alone, and many issues that people face here are directly related to ineffective management of the entire page cycle.

I know a lot of questions can be answered by taking a week-long class on advanced ASP.NET with a quality provider.  But "for the masses" I'm wondering if anyone is aware of free resources, hopefully provided by Telerik, that walk through the full execution of components from client to server so that we can get a good handle on exactly what is happening under the covers.  Here are examples of the sort of information that I think would be helpful to everyone.  I don't want the answers to specific questions, these are just examples of the scope/categories of questions that people may have:

  • Some code is best put in server-side Page_Init rather than Page_Load.  What are the rules for determining this?
  • Some code is best in PreRender or other events.  Why?
  • What should we specifically eliminate from Page_Load or other life cycle events to minimize transaction time and redundant activity?
  • When we see Init, Load, and other events firing for ajaxified controls that are unrelated to an event that we're processing, is that a bad thing?
  • What's the best way to prevent a data source from re-binding a control that doesn't seem to need a data refresh.  In other words, the user selects an item from a databound list and then clicks a button - how do we stop the list from getting repopulated on unrelated partial postbacks?
  • What are some good examples of events where a call to the server on partial postback can be replaced with a client-side event?
  • When and how do we replace a partial postback with a client-side web service call?

 
If I could get a dream realized I would find the following resources:

  • A chat room with people actively discussing these topics.  Heck, it's easy to create any number of IRC channels.
  • A forum section under this Ajax forum dedicated to event handling.
  • Blogs discussing topics like these in-depth.
  • Telerik TV full of "Watch Minute" sessions on specific events and aspects of client vs server handling.
  • Telerik Help pages, articles, etc on using controls in the context of the page cycle, in addition to the more mundane details of class members and control placement.
  • Lots of tiny examples of specific types of event handling.  Unfortunately the Telerik examples include lots of "stuff" that complicate their examples, like external scripts and CSS, header and footer controls, and other code modules that are required to support the plumbing of the core examples.  Of course these help us to understand more complex usage of the software, but it would be really nice to also have smaller, more "atomic" examples with fewer dependencies, with controls used in different ways in the page life cycle.

What do you think?

Ivo
Telerik team
 answered on 12 May 2009
3 answers
144 views
http://www.sjmed.com/events/calendar/calendarview.aspx

I'm running into trouble customizing the advanced templates.  The main thing I am running into is that the recurring events section isn't working.  I am following the tutorial on this subject.  I can get all the other fields to work, but the recurring events don't work.  I reverted back to a basic custom advanced form in the above link just to see if the recurring events work there, but they still don't.

The above example only uses the AdvancedEditForm, AdvancedForm and SchedulerDefaultForm controls.

Has anyone else had issues w/this?  Any help would be greatly appreciated!

Peter
Telerik team
 answered on 12 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?