Forum: ASP.NET Jun 29th, 2007 |
| Replies: 1 Views: 1,053 When submitting form (before calling postback) you can store current time to some hidden field, and when you load data from postback, just read data from this field and continue time counting from... |
Forum: ASP.NET Jun 29th, 2007 |
| Replies: 9 Views: 2,440 Viewstate is helpful when you remain within one page (including when you return there by postback). But it is destroyed when you are leaving the page.
in first click processing method you store... |
Forum: C# Jun 19th, 2007 |
| Replies: 1 Views: 1,452 You can get image from some url via stream like this :
System.Drawing.Image g;
System.Net.WebRequest webRequest = System.Net.WebRequest.Create(url);
System.Net.WebResponse response =... |
Forum: ASP.NET Jun 14th, 2007 |
| Replies: 5 Views: 13,234 Put your JS-code into some function like
function MyFunction()
{
... your code
}
And call this function by onClick event of your button (onClick="if(MyFunction()) {... |
Forum: JavaScript / DHTML / AJAX Jun 11th, 2007 |
| Replies: 6 Views: 4,946 JavaScript. It is supported by default at clients' machines (if client has not disabled JavaScript), but applets are not supported any more by windows, so, client must search somewhere and install... |
Forum: C# Jun 11th, 2007 |
| Replies: 3 Views: 3,458 Declare your arrays as static in some class which is visible to all your application, and then you can access them as :
MyClass.digit[x,z] |
Forum: C# Jun 11th, 2007 |
| Replies: 2 Views: 2,000 It could be better to keep lines in Dictionary<string, Collection<string>), where T001, T002 etc is key, and string with filename is a part of value collection. Advantage of this way is that it is... |
Forum: ASP.NET Jun 8th, 2007 |
| Replies: 2 Views: 1,155 Though it seems that classes of different forms do not see each other. It may be more reasonable to create some additional class in AppCode and put method showme() there. |
Forum: ASP.NET Jun 8th, 2007 |
| Replies: 1 Views: 658 window.open('yourpage.html', '', "width=400, height=300, scrollbars=yes"); |
Forum: ASP.NET Jun 8th, 2007 |
| Replies: 2 Views: 1,711 Check if these buttons have attribute onclick, and if there exists method corresponding to onclick in .cs
The simplest way is to go to design mode and double click onto that button, then this... |
Forum: ASP.NET May 21st, 2007 |
| Replies: 2 Views: 2,674 Try this :
onclick="checkedChanged(this, document.YourFormName.Checkbox1)
You need to define passed object not by type, but by name. |
Forum: ASP.NET May 18th, 2007 |
| Replies: 6 Views: 2,110 Then the best way is to sort data in DB, in SQL-request. I do so in MS SQL, and I think there is such a possibility in Oracle too.
If you do not have access to DB, then the solution might be to... |
Forum: ASP.NET May 18th, 2007 |
| Replies: 3 Views: 4,565 But are you sure that smtp.Port must be 587 but not 25 ? Usually SMTP port is 25 (that is why I have prescribed 25 in SmtpClient constructor). If it is 587, then replace 25 into 587 in that line. Try... |
Forum: ASP.NET May 18th, 2007 |
| Replies: 3 Views: 4,565 Check, if your mail client is created in this way ?
System.Net.Mail.SmtpClient mailClient = new SmtpClient("your.smtp.server", 25);
System.Net.NetworkCredential nc = new... |
Forum: ASP.NET May 18th, 2007 |
| Replies: 6 Views: 2,110 Then it seems better to create separate Int columns for months and years, and also a countable column
Dim dsCountable As New Data.DataColumn("TotalMonths", GetType(Int32), "Years * 12 + Months")... |
Forum: ASP.NET May 18th, 2007 |
| Replies: 6 Views: 2,110 it seems better to sort data before to send it to GridView. Can you give a code sample where you are reading data form some source and putting to GridView (all the steps from SQL (XML, etc) to... |
Forum: Post your Resume May 15th, 2007 |
| Replies: 0 Views: 1,356 Hello all. We are a team of strongly-experienced .NET developers from Ukraine, and we are looking for projects on freelance basis, or for person who will provide us with projects on permanent basis. ... |