|
Nnamdi Onyeyiri wrote:
well.....ummm......actually......i am
Well.... ummmm... why???
Regards,
Brian Dela
|
|
|
|
|
well......umm......i got sick of the old design
1001111111011101111100111100101011110011110100101110010011010010 Sonork | 100.21142 | TheEclypse
|
|
|
|
|
Suppose. Thats a good enough reason. So.. Any ideas for the new one?
Regards,
Brian Dela
|
|
|
|
|
only one, but i dont really like it. and browsing the net doesnt help, it only makes me hate my ideas even more
1001111111011101111100111100101011110011110100101110010011010010 Sonork | 100.21142 | TheEclypse
|
|
|
|
|
I really should get around to finishing my site.. Well. I'd have to get around to starting it first I suppose.
Regards,
Brian Dela
|
|
|
|
|
got anything uploaded? url...
ps. just keeping this thread going on.
1001111111011101111100111100101011110011110100101110010011010010 Sonork | 100.21142 | TheEclypse
|
|
|
|
|
Nnamdi Onyeyiri wrote:
got anything uploaded?
Nope. Well.. Wait. There used to be something at http://snet.wit.ie/~brian[^] but I think I removed it.. yep. .I did.
Regards,
Brian Dela
|
|
|
|
|
Brian Delahunty wrote:
Nope. Well.. Wait. There used to be something at http://snet.wit.ie/~brian[^] but I think I removed it.. yep. .I did.
And yet, you left the link in.
Paul
Life is just a sexually transmitted desease - Matthew Wright (ex-journalist, TV presenter) 10-Oct-02
I finally have a sig! - Paul Riley (part-time deity) 10-Oct-02
|
|
|
|
|
Paul Riley wrote:
And yet, you left the link in.
I didn't check until after wether or not I left that site up. I suppose I shoudl have removed trhe link.
Regards,
Brian Dela
|
|
|
|
|
I do alot of browsing around to sights that have the same (or similar) subject focus, then I make notes on what I like, what I don't like... I use those notes in my design.
Hmmm Orange bar down the left side of the page, cool little mascott cartoon character at the top, rolling adds for some cash... Hmmmmm
|
|
|
|
|
Well,
You can get inspiration from anywhere but the best is other websites. There are so many ways to design a website. For example, look at yahoo, it is one ugly website...but it functionality is one of the best because you can easly navigate through it find what you need and when you come back to the website weeks..months...later you dont have to re-learn it. Other websites are all flash, but have no content. I am sure there are numerous books that you can find that will help, search on web design, user interface and human interface.
|
|
|
|
|
David Flores wrote:
yahoo, it is one ugly website...but it functionality is one of the best because you can easly navigate through it
Where is the 'makes me puke' smiley...
|
|
|
|
|
|
I have a datagrid with this definition:
<asp:DataGrid id="CatGrid" runat="server" CssClass="Grid_General" HeaderStyle-CssClass="Grid_Header" ItemStyle-CssClass="Grid_Item" AlternatingItemStyle-CssClass="Grid_AlternatingItem" AllowSorting="True" AutoGenerateColumns="False" DataKeyField="CategoryID" OnEditCommand="CatGrid_Edit" OnCancelCommand="CatGrid_CancelEdit" OnUpdateCommand="CatGrid_Update" OnDeleteCommand="CatGrid_Delete" OnSortCommand="CatGrid_Sort" Width="100%">
<Columns>
<asp:EditCommandColumn ItemStyle-Width="25px" EditText="<img border=0 Alt='Edit this category' src=./Images/Edit.gif>" CancelText="<img border=0 src=./Images/Cancel.gif>" UpdateText="<img border=0 src=./Images/OK.gif>" />
<asp:ButtonColumn ItemStyle-Width="25px" Text="<img border=0 Alt='Delete this category' src=./Images/Delete.gif>" CommandName="delete" />
<asp:BoundColumn HeaderText="ID" HeaderStyle-Font-Bold="True" ItemStyle-Width="30px" DataField="CategoryID" ReadOnly="True" SortExpression="CategoryID" />
<asp:TemplateColumn HeaderText="Name" HeaderStyle-Font-Bold="True" SortExpression="Name" ItemStyle-Width="150px">
<ItemTemplate>
<asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' ID="Label1" />
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="EditCatName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' CssClass="TextBox" Width="150px" />
<asp:RequiredFieldValidator Id="ValidateEditName" runat="server" ControlToValidate="EditCatName" Display="dynamic">* Name is required</asp:RequiredFieldValidator>
</EditItemTemplate>
</asp:TemplateColumn>
.
.
.
</Columns>
</asp:DataGrid>
When user press on first field of first column,that row goes in edited mode and text box appear for that
row,then after he/she change the text there DataGrid1_Update event occur,in that event I put this code:
string strCol2 = ((TextBox)e.Item.FindControl("EditCatName")).Text;
but when I debug the program,the text is not updated and show the previous text.Any idea?
<html><b><FONT face="Lucida Handwriting, Cursive">Mazy</FONT></b></html>
<small><b>"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"</b>Kryptonite-3 Doors Down </small>
|
|
|
|
|
I have found the same problem and the solution is to create a TextBox variable, then call the Text function. You can not just cast the control, dont know why. Try:
<br />
TextBox ctrlTextBox = (TextBox)e.Item.FindControl("EditCatName");<br />
string strCol2 = ctrlText.Text.ToString();<br />
You might also wanna double check that FindControl returns a valid control.
Do you know which column you are in? Because you can get it by the following since you are in the UpdateCommand:
<br />
int nColumn = ...;<br />
int nIndex = this.MyDataGrid.EditItemIndex;<br />
TextBox ctrlTextBox = (TextBox)this.MyDataGrid.Items[nIndex].Cells[nColumn].Controls[0];
string strCol2 = ctrlText.Text.ToString();<br />
Hope this helps
|
|
|
|
|
I found the problem.It was about PostBack in Page_Load. Thanks
Mazy
"If I go crazy then will you still
Call me Superman
If I’m alive and well, will you be
There holding my hand
I’ll keep you by my side with
My superhuman might
Kryptonite"Kryptonite-3 Doors Down
|
|
|
|
|
Hello,
Is there any thing available for tab control on client side using jabascript so that I can move from one page to another using the tab controls without going back to the web server for each tab page.
Thanks
Hitesh
|
|
|
|
|
|
How to display messagebox on client machine in asp.net in .aspx.vb file ?
Like in ASP we use the "alert..... " function in html code.
|
|
|
|
|
Anonymous wrote:
How to display messagebox on client machine in asp.net in .aspx.vb file ?
Like in ASP we use the "alert..... " function in html code.
You do it the same way you did it in ASP. Remember alert has nothing to do with ASP, it is a JavaScript method.
|
|
|
|
|
This question caught my eye....
How can you display a messagebox on the clientside in ASP.NET using C#?
I have web page (mypage.aspx and mypage.aspx.cs) with a data grid, when the user tiggers the update command a message is sent to the update function. How can a make a messagebox pop up?
David
|
|
|
|
|
ASP.NET is a serverside technology. You can't use it to popup a message box on the client side. You can only control how the form is rendered tothe browser using C# or VB.
|
|
|
|
|
David Flores wrote:
How can you display a messagebox on the clientside in ASP.NET using C#?
You can't and I never said you could. I was just telling Anonymous that the way you display a messagebox when in the ASP.NET environment is the same way as you did it in and ASP environment. i.e. You return a JavaScript script block back to the client with an alert call in it.
I was thinking that Anonymous thought that ASP.NET would have some fancy new way of doing it, which it doesn't
|
|
|
|
|
Give this statement after the ASP code that does the update.
Response.write(" ALERT('UPDATED');")
Hope it helps
Luv
Pradhip.S
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
Hi,
I'm converting a http form to .aspx and I've managed to change all the fields to controls that will run at the server. However I keep running into a problem, I can't seem to get the user input from the text control.
For example
is my text control
and the user enters some text in it.
I then try and get the text by using
string a= Text1.value
and despite the fact that the user entered the data, a is equal to ""
Thanks for the help!!
|
|
|
|