Thanks for the response.
I believe the expression is: PBCK - "Problem Between Chair and Keyboard"
I was using multiple template types in the gridview, and during table row add, didn't include record type. Never finding record type, gridview wisely declined to display that row.
So, problem...
one more point...I do a debug.write on the datatable in the "Get" method associated with the "select" in the object datasource, and the new record is there, too. But does not show up in the immediately following display of the gridview.
I've got a gridview successfully bound to a datatable, at least for the first display.
However, when I add a row to the datatable (through another method), and then do a gridview.databind, the new row doesn't show up.
I'm pretty sure my syntax and timing for the databind are ok, because I...
Apparently, I need a bigger post-it on the side of my computer screen, which says "DO SEARCHES BEFORE POSTING HELP REQUESTS".....
This is a known issue, not specific to ASP.NET, and this article (and others) provide lots of information (including the fact that it's non-trivial)...
I'm using javascript to capture a text field value and put it in a hidden field value, and then submit the associated form. In Page_Load I extract and act on the hidden field value. All this works fine, except...
The hidden field value that is entered persists when the page is refreshed (ie...
I've got an table (asp.net gridview generated) that's going to be scrolled vertically in a <div>. In another sub-form on the same page, the user will select a record identifier that corresponds to a row in the gridview table.
When the user chooses that record identifier, I need to figure out a...
If I have the User ID, is it possible to reference, read and update the User Session Cache from within a custom class? If so, what is the key syntax for this?
Thanks!
Thanks for your response. Since I'm very new at this, there's a very good chance it's not the right approach. But, that's part of the price of learning :-)
What's the specific syntax for passing a page to a custom class? Could you provide a brief example?
Thanks!
In ASP.NET 2.0, is there a way to reference a page control from a business object method, for example by accessing a "Pages" collection and use a construct like the below to access an individual page, control, and property?
Imports SomeNameSpaceFor.PagesCollection
Class TestClass
Sub TestSub...
Thanks for input. My apologies if I've misunderstood your post. I'm such a newbie, perhaps I'm flying way below the radar.
This
'--------------
Imports Microsoft.VisualBasic
Imports System.Web.Caching
Public Class Class3
Sub test()
Dim myObject As Class1...
Thanks for the input. I'm still trying to figure out, though, what all is needed in terms of the "environment" around the use of the Cache object.
In the example above, I couldn't get it to work without the
Imports System.Web.Caching and
Public CC As Cache = HttpContext.Current.Cache...
The app I'm building isn't much like I website, more like a live classroom, with a lot of complex, cross-user-session background processing. I've got to use ASP.NET because people may join at the last minute and I can't require them to download anything. So I find I'm asking a lot of questions...
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.