| Checkboxlist and Prerender (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| Does anyone know anything about possible "bug" with the PreRender event for the checkboxlist? In the simplest of tests, I can not get this event to fire.. ex) private void cblWeekDays PreRender(object sender, System.EventArgs e) { cblWeekDays.Attributes.Add("onclick","Alert('Blah');"); } Thanks, JS |
|
| CheckBoxList In A DataGrid - Can I get what's selected without using the Edit (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| I have an ASP.NET form with a DataGrid and Button. I want to put a RadioButtonList in a DataGrid cell. I bind it to an ArrayList which has a ListItem in the cell. The display part works fine. I then check some boxes and hit the submit button. I can't seem to get the value that is selected on the RadioButton List. I don't want to use the EditTemplate thing I just want to click on the radiobutton an... |
|
| CheckboxList PreRender (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| The PreRender event on a CheckboxList never seems to fire. Anyone else having this problem? Is this a bug or am I doing something wrong? Thanks, Nehal |
|
| CheckBoxList Problems (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I am having some difficulty getting a checkboxlist control to determine which checkboxes are checked. Here is a code sample from the event that should read it: private void btnFilter Click(object sender, System.EventArgs e) { ArrayList arr new ArrayList(); for(int i 0;i ckFilter.Items.Count;i ) { if(ckFilter.Items[i].Selected) { arr.Add(ckFilter.Items[i].Text); } } IEnumerator en arr.GetEnumerator... |
|
| CheckedListBox and ItemCheck Event (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| Is there an event similar to ItemCheck, within the CheckedListBox class, that is called after a list item is checked and updated with the new check value? I currently have a method that iterates through the CheckedItems collection of a CheckListBox control. My problem is the CheckedItems collection doesn't have the correct count because of the ItemCheck event occurring before the checked state is ... |
|
| CheckedListBox State (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, We are populating a CheckedListBox from a database. Based on a selection by the user, the CheckedListBox either contains ALL possible members of a set, or a subset of possible members. The user can click a button to toggle back and forth between showing all or some. The question we have is maintaining state of the CheckedListBox. In other words, if a user has selected "Show MY records" and che... |
|
| Checking if running (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hey Group, How would I check if my Application is running on a local PC and if it is throw a message to say its already running and quit the the second instance? Many Thanks MCN |
|
| Child form disactivation on new data to datagrid! (Mainform jumps to TOP) (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms.controls |
| Hi, I have notices forms activating/disactivating problems. PLEASE HELP ME, it's very strange! Try this: 1)Create MainForm Datagrid( new dataset assign to datagrid) 2)Create Timer on MainForm on timerTick add new data to dataset (see below) 3)Create another form (child) 4)Execute all ABNORMAL Behaviour: Child form always jumps to background on TIMER TICK!!! (MainForm jumps to TOP) SW details:.NET ... |
|
| child form doesn't appear in the task bar (VIP replies) |
| microsoft.public.dotnet.framework.windowsforms |
| I have 2 forms Form1 and Form2 Form1 is the owner of Form2 and should activate it on Button1 Click Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click ' Create another form and display it Dim newForm As New Form2 newForm.Show() newForm.Owner Me ' Hide the owner Me.Hide() End Sub in the Form2 we have: Private Sub Form2 Closing(ByVal sender As ... |
|
| Child user control accessing parent properties (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.buildingcontrols |
| We have a user control (Titlebar) that loads other user controls (children) into itself based on a property set in the HTML: fss:Titlebar id "empStmtListing" runat "server" UserControl "StatementListing.ascx" Width "90" HelpId "1" ListingType "3" /fss:Titlebar Some of the children user controls need properties set to execute. We would put these properties in the HTML of the parent, for example, th... |
|
| Child WebParts in SPS 2003 (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| I am working with SharePoint 2003. I am using (using C#) an existing webpart as a child control (server control). I need to access/manipulate the HTML that the control outputs prior to rendering it to the the page. The control outputs a list in a one column table format. I need to access the contents of the rows and output them with restrictions in my own table format. Does anyone have any example... |
|
| ChildProperties (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.buildingcontrols |
| G'day All, Looking at the documentation, it looks like what I'm trying to do is possible, but I can't get it to work. Any suggestions would be greatful. I'm trying to make a server control, so the calling aspx code will look similar to this ab:MyControl runat "server" id "blah" FirstName Jimbob /FirstName LastName McGoo /LastName /ab:MyControl Where firstname and lastname are properties of type st... |
|
| Choosing which submitbutton responds to ENTER (VIP replies) |
| ASPFriends.com 'aspngfreeforall' list |
| If you have several buttons on you page, how do you choose which one will repond to the ENTER key by default? Regards/H E4lsningar Andr E9 Colbi F6rnsen 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D 3D Sonnenburg Communications Bergsgatan 3, SE 211 54 Malm F6 Sweden Tel.: 46 (0)40 97 78 80 Fax.: 46 (0)40 97 78 80 Mob.: 46 (0)708 97 78 79 Mail: colbior... |
|
| Class Variable Lost During PostBack (VIP replies) |
| ASPFriends.com 'aspngfreeforall' list |
| Hi. I'm curious about something, as it seems to me this should work. Obviously, I'm no expert...'cause it doesn't! I've set a variable "Blah" equal to something during Page Load. During a PostBack, I had assumed that it would still be available. Is this not the case? Please review the code below if you would... This seems like something really simple, I have a feeling I'm doing something stupid. T... |
|
| CLASSES (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Iâ m getting an error â œAn unhandled exception of type 'System.NullReferenceException' occurred in 11 1 26.exe Additional information: Object reference not set to an instance of an object.â It points to st.num CDbl(txtNumber.Text) I cannot see what is wrong. Please help. Dim statistic() As statistics Dim lastnumber As Integer Private Sub btnRecord Click(ByVal sender As System.Object, ByVal e As S... |
|
| Classes (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I m getting an error An unhandled exception of type 'System.NullReferenceException' occurred in 11 1 26.exe Additional information: Object reference not set to an instance of an object. It points to st.num CDbl(txtNumber.Text) I cannot see what is wrong. Please help. Dim statistic() As statistics Dim lastnumber As Integer Private Sub btnRecord Click(ByVal sender As System.Object, ByVal e As System... |
|
| Cleaning up a DataReader (VIP replies) |
| ASPFriends.com 'aspngdata' list |
| Is this code bad: private void Page Load(object sender, System.EventArgs e) { DataSet ds SAS.Utility.Utility.convertReaderToGrid(ASPAlliance.BLL.Book.ListBooksInPool()); System.Random rnd new System.Random(); int i rnd.Next(ds.Tables[0].Rows.Count 1); isbn ds.Tables[0].Rows[i]["isbn"].ToString(); title ds.Tables[0].Rows[i]["title"].ToString(); ReviewList.DataSource ASPAlliance.BLL.Book.GetReviewsB... |
|
| Clearing a dataset (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, Im a sort of newbie when it comes to VB.NET, so forgive me if this is a simple question. I have a dataset i wish to clear, ive used a parameterised stored procedure from MS Access. Currently im using: DtsCustomerIdParam1.Clear() to clear it, and it does, according to a data grid i put in to test it, but when i go and try and run the stored procedure again, it comes up with the same result as t... |
|
| Clearing errors sometimes changes values (VIP replies) |
| microsoft.public.dotnet.framework.compactframework |
| I've got a problem which *may* be with the Compact Framework, but may be in the main framework as well I'm having a very difficult time reliably reproducing it, so I thought I'd ask here for further advice. The principle objects involved are: o A datarow, with a column in it (call it X) o A row handler which has some validation logic in it o A control (derived from ComboBox) with a bound property ... |
|
| Clearing Events without -= (VIP replies) |
| microsoft.public.dotnet.languages.csharp |
| Hi, I have a situation where I need to clear the event sinks from an event inside a custom class. But I don't know which methods signed up for that event. Consider the following example: public class B { public event System.EventHandler DoneIt; // .... } B b new B(); b.DoneIt X; Now eventually suppose I want to "reset" b so that DoneIt null but I don't want to completely generate a new object, jus... |
|
| Clearing items from combobox (VIP replies) |
| microsoft.public.dotnet.general |
| Hola, I wanted to kno how to clear the current text that is displayed in my combobox. I am filling it with a query which is run against my database. I have tried this but it not work. Combobox1.text "" am i using the wrong event? Can someone advise me with correction? |
|
| click event (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| Hi, how can I now on witch button is clicked. (sorry for my bad english) Private Sub KeuzeClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdA.click, cmdB.click .. .. End sub Thx JOskexp |
|
| Click Event not fired (VIP replies) |
| microsoft.public.dotnet.languages.vb |
| I am noticing a strange behaviour with the button Click event. A simple test case a form with a textbox and a button. Attach the following two handlers. Private Sub TextBox1 Leave(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.Leave MsgBox("leave") End Sub Private Sub Button1 Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox("clic... |
|
| Click event of a list box control (VIP replies) |
| microsoft.public.dotnet.framework.aspnet.webcontrols |
| I have an asp.net page where I need to fill a grid when the user clicks items in a list box control on the same page. There does not seem to be a click event and the "onselectedindexchanged" item does not fire when the user clicks on the items in the listbox. Scott |
|
| Click event of button control on a tablecell of asp.net Table (VIP replies) |
| microsoft.public.dotnet.framework.aspnet |
| (Type your message here) I have an asp.net application. In response to a button(on the form) click event I create a asp.net table and create rows and column. These rows and coulmn's data I extract from dataset and fill the contnet of columns and rows of the table. As I want to have each row vertically displayed, I use asp.table control instead of DataGrid control. At the end of each row I have emb... |
|