Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:398440
More Search Options
RSS Available
Matching Posts
Having multiple validators in a custom control that extends a textbox.
I have a custom control that extends a textbox. Now i render another textbox along with the base text box in the Render function. I have two required field validators. One for the base textbox and one for the textbox i am rendering in Render function. The base textbox required field validator works fine but the validator for the render textbox says that it cant find the textbox that it needs to validate. TextBox2.ID = base.UniqueID + "_textbox2"; rqfTextBox2.ControlToValidate = TextBox2.ID; rqfTextBox2
Posted to
Custom Server Controls
(Forum)
by
Floatsam
on 5/23/2006
Re: z-index of a control nested in a div tag.
Thanks for taking time in thinking about my problem. I had to put the datagrid in div tag because the datagrid has fixed size and its not the only control in my page.There are lot of other controls in my page and the grid occupies only a part of the page and i dont need to see all the items in the grid at a single time and so the page need not be scrolled to see the other controls. What i was trying to develop actually was a custom dropdownlist which needs to show 2 database fields(code and description
Posted to
Client Side Web Development
(Forum)
by
floatsam
on 3/7/2005
Re: z-index of a control nested in a div tag.
The reason why we are using div tags around the datagrid is to avoid paging.Some how our client likes scrolling for datagrid rather than paging.So i was using div tag around datagrid to enable scrolling. Regarding layout my pages have flow layout.Does that make any difference? If i am able to get listbox outside div,i can write client side code so that it remains invisible when its not supposed to be visible. I have solution for that problem.
Posted to
Client Side Web Development
(Forum)
by
floatsam
on 3/4/2005
Re: z-index of a control nested in a div tag.
Thanks guys for the response. Have sent the screen shots to SomeNewKid. Have sent both the IE and Mozilla screen shots. First of all,unfortunately our development is oriented towards IE.So i have no go but to use IE. As you will see in IE, dropdownlist is coming out of div tag but the list box is not coming. I wanted to get the listbox out of the div tag just like the dropdownlist(if thats possible). Same page in mozilla has no div tag coming up and hence no scrolling. Regards, Sam.
Posted to
Client Side Web Development
(Forum)
by
floatsam
on 3/4/2005
Re: z-index of a control nested in a div tag.
I wish i could show you the screen shot. Let me explain it again.There is a div tag around a datagrid. In the datagrid there is a listbox. when the size of the datagrid is greater than the size of the div tag,the scroll bars for the div tag come up.Now when the list box moves over the scroll bar when moving up and down in the div tag,i want the listbox to go over the scroll bar of the div tag and not under the div tag and hence not being visible. I was looking for this in web and came to know that
Posted to
Client Side Web Development
(Forum)
by
floatsam
on 3/3/2005
z-index of a control nested in a div tag.
I have a datagrid enclosed in a div tag. In the edit item index of the datagrid there is a html listbox. This listbox has z-index much higher than the z-index of the div tag that encloses the datagrid. Still the list control does not take precedence over the div tag when the list control moves over the div tag. Any suggestions on how to make the control flow over the div tag. Both the list box and div tag have absolute positions. Thanks, Sam.
Posted to
Client Side Web Development
(Forum)
by
floatsam
on 3/3/2005
Re: Entering precision of 2 for a number in textbox.
Cant use regular expression validator since i want values like 90.23 to be entered as i press the keys. IF i try to enter 90.256 i should be limited to enter only 90.25.This is should happen in keypress. I dont want to validate on submit. Any ideas..
Posted to
Client Side Web Development
(Forum)
by
floatsam
on 12/22/2004
Re: Entering precision of 2 for a number in textbox.
I was doing exactly the same way.I count number of characters entered after "." and limiting it to 2. The problem with this approach is, lets say i enter 14.53. Enter this number wouldn't be a problem. Now if i want to enter some number before "." it would allow it. i cant enter anything after the two characters limit is reached after ".". Here's my code: function CheckNumeric(txtBox) { var val = txtBox.value; if(event.keyCode > 47 && event.keyCode < 58
Posted to
Client Side Web Development
(Forum)
by
floatsam
on 12/21/2004
Entering precision of 2 for a number in textbox.
In the key press event i allow only numbers and one "." to be entered.Now i have problem maintaing precision of 2. So if i enter a number 10.234 it should allow me to enter only 10.23 Any suggestions.. Thanks.
Posted to
Client Side Web Development
(Forum)
by
floatsam
on 12/21/2004
Session VS Static DataSet
I have four pages in a group. Each of these pages has a grid and controls and finally the last page has a submit button to update the database. The point is that i have to pass the data from first page to the last page.The approach i am following involves in creating a static dataset in the first page and adding data from each page to that dataset and finally updating the database. I can also put the dataset in session and add data. I wanted to know which approach is better. Is there any real difference
Posted to
State Management
(Forum)
by
floatsam
on 10/26/2004
Page 1 of 3 (30 items) 1
2
3
Next >
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online