IMHO, best practice is whatever is easiest for the user. If you are dealing with a professional mailing company that gets a substantial discount from the PO if it sorts down to the 9 digit field, then by all means keep it as 2 fields. If you are dealing with a small company that never uses...
On a page I have a header, a datagrid, a detail screen for mods to the datagrid, and a footer.
HEADER:
DATAGRID:
column; column; column; column; Mod Del
column; column; column; column; Mod Del
...
DETAIL SCREEN:
Enter value for column1...
My boss wants me to start giving him projections as to how much time it is going to take to write the programs he assigns to me.
I have almost no idea how to do this.
PS. Am I in the right forum?
We are drowning in data, but we are starving for information.
I'm having trouble understanding the concept of databinding and how to use it. I know how to databind a DataSet to a DataGrid. When it comes to binding a property to a variable, I don't understand what I'm doing.
We are drowning in data, but we are starving for information.
I have a working datagrid with good records (status = 1) showing normally, and bad records (status<>1) shown in red.
I have a button column saying "delete" for all records.
I want it to say "delete" for good records, and "undelete" for bad records.
How do I do this...
Go ahead and toot. If you don't, who will. When everyone exagerates, the one who is modest always gets lost in the crowd. The plain facts of what you're doing are very impressive. Start out by saying exactly what you said on 9/10, and then expound on your new project.
Lots of Luck.
Phil
We are...
Imho, a 4 year degree is worth 6-9 months of experience as a professional programmer. On the other hand, any experience with a real project (i.e. multi-K lines of code with everchanging requirements) is worth its weight in gold.
Phil
We are drowning in data, but we are starving for information.
I don't know what your code says, but it sounds like you are having an OnPostback problem. Why don't you post some code so we can help more?
Phil
We are drowning in data, but we are starving for information.
I am using VisualStudio.NET 2003
When I write a simple handler such as:
Private Sub EndBtn_Click(object, event) handles EndBtn.Click
Response.Redirect("Comp.aspx")
End Sub
Sometimes the "Handles EndBtn.Click" vanishes from my code.
When I double click the button in...
I don't know where to download buttons per se, but if you use an ImageButton instead of a regular Button control, you can use any design, any icon, or any image from a URL as a Button
Phil
We are drowning in data, but we are starving for information.
Please help,
I am getting this error in a DropDownList.SelectedIndexChanged handler.
The only line in the handler is
TextBox1.Text = DropDownList1.SelectedValue
What is this error and what do I do about it.
Thank you,
Phil
We are drowning in data, but we are starving for information.
I found the cause of the confusion.
If you set the 'CausesValidation = False' in the properties window of the button on the design window it works properly.
If you set the 'CausesValidation = False' in the codebehind it doesn't work properly.
I havent tried setting it in the html, but I...
The problem RealQuiet is that the validation occurs before the click event of the cancel button.
What I tried doing was writing a CustomValidator.
The CustomValidator doesnt prevent any postbacks, but you can test the isValid property before you do the postback.
Phil...
D'Arcy,
That function you just mentioned sounds very useful. Please post it here if you can remember or reconstruct it.
Phil
-----------------------------
We are drowning in data,
but starving for information.
Me
-----------------------------
When my users scroll down to the bottom of my page and push a button there, the PostBack pops them back into my page at the top. They then have to scroll back down.
Is there some way to get them back to where they were on the screen when they pressed the button?
TYIA
Phil
P.S. If I can't do...
Thank you very much LV.
I simplified it slightly by adding in not only the DataKeyField, but also OnItemDataBound="myGrid_ItemDataBound".
I then added your subroutine (in Visual Basic):
Public Sub myGrid_ItemDataBound(ByVal sender As System.Object, ByVal e As...
I would like to change the background color of rows that have a special value in a particular column.
Example: Most rows have a value of 1 in the status column, some do not.
I would like to render the rows that do not have a status of 1 in a different color.
Can this be done using a datagrid?
Many dialog boxes have browse buttons to help the user enter file names, URLs, etc. On my web form I ask the user to enter a filename and its path. How do I make a browse button to help them?
tyia,
Phil
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.