Does ASP have a Current event? [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Does ASP have a construct similar to Access's On Current event? I've inherited a set of ASP web forms coded in C# and the rules associated with the form controls kick in OK if you click one of the controls but I need them to apply when the form opens, not only on change. That they don't is allowing bad data.

I need them to apply when the form opens, not only on change.
With ASP.NET you can use the Page_Load event handler; check out the page lifecycle documentation for more details, as that may lead you to something more appropriate and would be a rather educational read on the whole.

Related

C# get webpage data [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Can someone please help show me how to get the data from this website using C#:
https://fullmeter.com/fatonline/#/framedata/Guile
I would like to get the data in the table. I tried using webclient download string but I do not see the data in the string. Thanks in advance.
you are not able to see it directly because when site loaded not all content has been return,ajax call created to bring the data.
use webclient and call this page: https://fullmeter.com/fatonline/lib/characterData.json?ver=010102 you will get it as json sturcture
You can try to use WebBrowser class(in WinForms or WPF app, also there are ways to use it in Console app but they are somewhat inconvenient), which has DocumentCompleted or LoadCompleted event which should occur when page has finished loading.

How to display Button on form [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
As in this picture, how I can create a list with users and display it on the listbox with two buttons delete and launch and when I can create there code what I must do help please !
I assume you want to write windows forms application with C#. I use DataGridView for this purpose, because in datagridview we can define columns. The wireframe has 3 columns one is the name and others are launch and delete. There is also listview component if you like. If it is a webpage there are similar components like asp.net GridView. These components also have databindings with SqlDataSource, so CRUD operations can be done without coding.
If you are a beginner to winforms, check this out.

what control should I use for this? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
In visual studio the toolbox design is like
when you click on,sub items are shown .
what is its name ,and how can I have one ?
I want to use this in windows form not wpf
It is commonly called a Tree View. In C#, there are two built in classes. Depending on which UI framework you are using, you would use either:
System.Windows.Controls.TreeView (WPF)
System.Windows.Forms.TreeView (WinForms)
Do a menuStrip. Drag a menuStrip on your form. Then add what you want. Click each item you add then code what the item does.

Uncheck checkboxes by checking other checkbox using C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have multiple checkboxes (C#) and I want if the user check one checkbox then unckeck all other checkboxes except the last selected,or he can check them all (he must check one or all).
I use visual studio C#
Use RadioBoxes instead, but include an option for "All of the above".
If you don't want to do that then you need to specify your platform you are developing in. Most likely you would add an event handler on the click event and check every box manually to see if it's checked or not.

C# Windows forms application page-up page-down [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
a busy cat http://non-98.ucoz.com/browser_choice_large.png
!
I want to add "this thing" (I don't know its name in english
:D) in my widows forms application.
Can someone help me?
Thanks.
Like the comments already noted you need to use the Form.AutoScroll property and set the form size to be fixed. Then a scrollbar will appear on your form if there's a control within it that surpasses the field of view of your form.
You can use the ScrollableControl. It has some properties to control the scrollbar.

Categories

Resources