|
|
|
Genius.Boy wrote: ASP.NET 2.0 ... (FREE)
Doubt it. This google search[^], cheapest is $3.95/month or so. Surely you could afford that
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Thanks alot Mr. Paul
so I have no way.... I have to pay
thanks again
|
|
|
|
|
Genius.Boy wrote:
I mean $2.95-3.95/month isn't bad. I am paying $8/month for my severice with www.bluedomino.com[^] and it is okay... Will your ISP let you host your own site?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
paul Im just kidding ... I don't have any problems in paying but I just asked about free hosting because Im new in ASP.NET and I just wanna try uploading my small web site just testing...
I think I will use the blue domain in the future after being professional in ASP.NET hahaha
thanks paul
|
|
|
|
|
Not sure if you can do ASP.NET with bluedomino. They run *nix...
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
hi,
I have a textbox in which user can enter some text. when user stop typing for a while then it should trigger a method...
If anyone knows the solution please help me..
modified on Monday, December 15, 2008 7:23 PM
|
|
|
|
|
A method on the client, or the server ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
|
I guess in that case, you want a javascript timer and perhaps consider using an ajax method instead of doing a postback ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
AJAX is one solution ... But, i am using WPF in my project...
Aslesh
|
|
|
|
|
I assume you mean you're using Silverlight ? Or is this not even a web app ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
|
OK - well, you wasted a lot of your own time by asking in the ASP.NET forum then. The answer is then trivial - set a timer when the user presses a key. And, next time, ask in the right forum.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Thanks for your reply.. and as this is my first post i am not familiar what is the correct palce to post this.
If you know the syntax for the timer that will be a gr8 help for me
Aslesh
|
|
|
|
|
You did post it in the right place, you just posted it here first.
I use the System.Windows.Forms.Timer even in WPF b/c I am used to it.
System.Windows.Forms.Timer t = new System.Windows.Forms.Timer(); // this is a member
// This goes in the keypress.
t.Inverval = 1000; // one second
t.Tick += delegate {
// Wahtever code you want here
};
t.Start();
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian,
I tried with the syntax you have given. but the thing is for the first time its taking the time interval correct ( here i gave it as 5 sec).but, when i agian changing the text then its holding for only 2.5 sec and then if i do it for 4 to 5 times its displaying instantly.
do you have any idea about this situation?
Aslesh
|
|
|
|
|
RTFM. You probably need to Stop() the timer before you start it again or something like that.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
aslesh wrote: If you know the syntax for the timer that will be a gr8 help for me
aslesh wrote: I tried with the syntax you have given. but the thing is for the first time its taking the time interval correct ( here i gave it as 5 sec).but, when i agian changing the text then its holding for only 2.5 sec and then if i do it for 4 to 5 times its displaying instantly.
Maybe you should just go to his location and do the work for him I bet that would be a gr8 help for him.
led mike
|
|
|
|
|
I am new to .net programming, so please pardon any mistakes I make. On my page have gridview1 and inside the edit template of the gridview1 have texbox8. When the user clicks on the edit button the textox8 should automatically populate current machine date. I am not sure how to access the texbox8 inside the gridview and display the current date.
Following is the part of the code:
<asp:gridview id="GridView1" runat="server" allowpaging="True" xmlns:asp="#unknown">
AllowSorting="True" AutoGenerateColumns="False" CellPadding="4"
DataSourceID="SqlDataSource1" Height="369px" Width="482px"
Font-Names="Arial" Font-Size="8pt" ForeColor="#333333" GridLines="None"
PageSize="30"
<edititemtemplate>
<asp:textbox id="TextBox4" runat="server" height="15px">
Text='<%# Bind("ClosedDate", "{0}") %>' Width="60px"
ontextchanged="TextBox4_TextChanged">
<cc1:calendarextender id="TextBox4_CalendarExtender" runat="server" xmlns:cc1="#unknown">
Enabled="True" TargetControlID="TextBox4">
/GridView1>
Here is the code in my .vb file:
Protected Sub TextBox4_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)
For Each row In GVOpenNCMR.Rows
Dim textBoxText As = (CType(row.FindControl("TextBox4"), TextBox)).Text
Next
End Sub
Not sure where to put the code for the textbox to populate system date. Anyhelp would be appreciated. Thanks.
|
|
|
|
|
If you're new to .NET, why are you working on something so complex ? And why is your textbox called textbox8 ?
RuhrT wrote: For Each row In GVOpenNCMR.Rows
Dim textBoxText As = (CType(row.FindControl("TextBox4"), TextBox)).Text
Next
This is a mess. You don't need to do this, sender is TextBox4, you just need to cast it. But, either way, what are you trying to do here ? And why send a postback every time the text is changed ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
I am trying to populate the textbox with today's date as soon as the user clicks on the edit button of the gridview. I have to find that control in the gridview first and that's what below code is doing.
Dim textBoxText As = (CType(row.FindControl("TextBox4"), TextBox)).Text //Looking for the textbox inside the gridview.
|
|
|
|
|
But it does it in the text changed event. why do you want to replace the text they just entered ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
*sigh* another person who asks questions and runs away when people try to help....
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|