I'm having a heck of a time trying to get this to work, but it has to be possible! I have a bound DataGridView that includes a bunch of date columns, which may or may not be null (the database does allow nulls in these fields). Null values are displayed with no problem, but I want the user to...
Just as an update, I finally got this to work by taking the easy way out. The table was being created dynamically so I just appended the row number to the ddl ID, then substringed it out in the SelectedIndexChanged routine so I knew what row to reference in table.row(index).cell(index).text to...
Yes, I do have multiple rows with a ddl in each row. The repeater looks like it might be a good solution, thanks for the push in the right (hopefully!) direction
I have an asp:table with 2 columns. Col 1 holds an employee number, and col 2 holds a drop-down list of codes.
If the user selects a new code from the drop-down list, the SelectedIndexChanged event fires and, within that event, I can look at the SelectedValue to see what the new code is - but...
I finally found the answer. Go to Solution Explorer and right click on any .aspx file and you get the option 'browse with...' You can then select a different browser from the list and click 'set as default' (there is also an 'add' button to add another browser to the list).
Changing any .aspx...
Oh sorry, I believe I misunderstood your question. There is no specific line of code that says 'open this browser' - you just run the web application and it opens the startup HTML page and goes from there. I can open Firefox first and then do a file/open of a specific web page within the...
They say there is no such thing as a stupid question, but this might just win the prize.
How can you control which browser a web application runs in when you are executing the program from within Visual Studio? I'm still in testing phase and I want to test the program under different browsers...
Both great ideas, thank you! I chose the latter, and had to call 'acceptChanges' on the dataset rather than the tableAdaptor (there was no such method for the adaptor), but it worked like a charm.
Thanks so much!
I have a datagridview in a windows application which is bound to an underlying database via a bindingsource/tableadapter. Is there a simple way to delete a row from a datagridview without deleteing it from the underlying database?
The user is processing data from the grid, and I want to give...
OK, I'm lost - where is the page layout/setup option? I created a new web page (in case I missed something), dropped a report viewer on it - I dont see any place that I can specify the layout. I then added a report file - I'm still not seeing any place to define orientation. Is this set in the...
In that case, how do I set the orientation in the published report? I've tried setting the report/report properties/layout to width 11, height 8.5 but that didn't work. I haven't been able to find any property of reportviewer that references page setup. I did find one reference to setting the...
Is it possible to change the SelectedIndex of a RadioButtonList through JavaScript?
When a user uses the browser back button to return to the previous page, the page displays without reloading - so the previous selection is still selected. I would like to use the OnClientClick event to remove...
I've found one possibility, which is using the OnClientClick with a bit of Javascript that would reset the RBL selected index to -1. The OnClientClick fires before the page_load - unfortunately, I don't know much about javascript.
Does anyone know if you can use JavaScript to reset the index...
I have a button on my home page which, when clicked, makes visible a RadioButtonList showing the years of history available. Since this is a new application, only 1 year is currently available in the history.
When you select this year, the page_load fires, then the SelectedIndexChanged event of...
I did take a look at the treenodedatabound event, but there is no property for changing the forecolor. I can change the text or the imageURL, collapse it, expand it, etc - but I don't see a way to change the style of the node?
Same problem with changing the color of the node before you add it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.