Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #11.7K
Ranked #4K
~2K People Reached

13 Posted Topics

Member Avatar for thirunavukaras
Member Avatar for ruhi

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 your value to viewstate Viewstate["myValue"] = someValue (may be any type) in the second click processing method …

Member Avatar for ruhi
0
144
Member Avatar for awanti

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 that value.

Member Avatar for NET-Developer
0
58
Member Avatar for dooda man

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 = webRequest.GetResponse(); System.IO.Stream imageStream = response.GetResponseStream(); g = System.Drawing.Image.FromStream(imageStream);

Member Avatar for NET-Developer
0
95
Member Avatar for Cerberus

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 Java suppore to his machine so that to be able to see your applet.

Member Avatar for Cerberus
0
226
Member Avatar for Marcio Abreu

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]

Member Avatar for Killer_Typo
0
135
Member Avatar for naigba

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 OK if source strings are mixed up (T001, T003, again T001, T002 etc), and every T... …

Member Avatar for NET-Developer
0
99
Member Avatar for Fungus1487

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.

Member Avatar for NET-Developer
0
90
Member Avatar for greeny_1984

window.open('yourpage.html', '', "width=400, height=300, scrollbars=yes");

Member Avatar for NET-Developer
0
90
Member Avatar for earlofroberts

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 method will be created and indicated in <ASP:BUTTON tag. And you will move to .cs to …

Member Avatar for NET-Developer
0
145
Member Avatar for thirunavukaras

Try this : onclick="checkedChanged(this, document.YourFormName.Checkbox1) You need to define passed object not by type, but by name.

Member Avatar for thirunavukaras
0
82
Member Avatar for vimalv

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 GridView) ? When you are sorting data in GridView, then sorted is …

Member Avatar for vimalv
0
113
Member Avatar for sibotho

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 System.Net.NetworkCredential("YourLogin", "YourPassword"); mailClient.Credentials = nc; And also check address of your SMTP server, login and password, if they are all correct. Or there may be also problems at server …

Member Avatar for NET-Developer
0
165

The End.