Home » Questions » ASPxGridView - Dynamic Text in Command Column?

ASPxGridView - Dynamic Text in Command Column?

Answered
0
0

Article K18357 provides excellent background info and an explanation of why your controls will not normally render side-by-side. It also offers a couple of suggestions on how to overcome this limitation. The article, though, is 6 years old. And in fact it makes reference at the end to the “new” ASPxFormLayout. I’m already using the FormLayout, but I’d like still add some of your controls side-by-side. I’ve tried applying the in-line style as suggested, but that does not seem to have the desired effect — each subsequent control appears below its predecessor. Do you have any more recent guidance (or preferably an example) of how to accomplish this within the FormLayout? Here’s an example. In one specific situation I need to allow for the entry of parts or all of a date. I can’t use an actual date control because I need to allow for partial dates (e.g. “July 2010”). I am using a dropdown list of month names, then a text box for the day and a text box for the year. The desire is to have it appear just like a written date entry (e.g., “January 12, 2010”). Putting each element in separate layout item introduces too much space between. Putting multiple items in the same layout item results in the stacked appearance. I can accomplish this using the standard lightweight HTML controls. The only downside to this approach is that the month dropdown now has a different appearance than other dropdowns on the form (which are ASPxDropdowns). (And there are other similar situations with multiple command buttons. I’d like to use the single theme-controlled color scheme throughout.)

Checkboxes
Label 1
Radio buttons
Label 1
Date field
January 7, 2016 1:52 am
  • You must to post comments
Best Answer
0
0

Hi this is my answer testing

  • You must to post comments
0
0

이것이 정답입니다.

이것 말고는 정답이 없습니다.

진실입니다.

  • You must to post comments
Showing 2 results
Your Answer
Guest Author
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Website
CAPTCHA*
Enter the characters shown on the image.