That is correct. If you want to use the same prefix you need to be using the same dll.
The register command maps a prefix to the specified namespace in the specified assembly.
In fact you will need different prefixes for different namespaces in the same assembly.
This is needed otherwise the...
Nicely done paul. Often wondered about this but never took the time to look at it.
That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
The rowfilter and sort properties act sort of like a Where and order by statement in SQL do. Just and an "AND" or "OR" to filter by multiple rows.
That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
If your getting this error it may be because you have a signed assembly in your bin folder. Apparently signed assemblies are not supported in bin folder
There is a MS article (rather short) about this here.
http://support.microsoft.com/?id=324519
Make sure you add the offending assembly to...
Your submit button saves the data to the database right?
Well just reload the data from the database or if it's already in a dataset there's no need to reload from the database.
Then rebind the grid with the refreshed datasource be that a dataset dataview whatever.
That'l do donkey, that'l do...
As I mentioned above
The text box's values are persisted over a post back through the use of the viewstate.
This is how they can keep their .Text or .Visible values over a post back.
The page is built with the box.Visible set to False but when the ViewState values are propegated the box.Visible...
Hi
I am just getting started with Sharepoint so please excuse any ignorance I may show.
What I am looking to do is Create a Web Part Zone within a .NET web page. I don't want the whole page to use SharePoint just a section of it that the users can then customize to show event's, lists and all...
Err if your using VB i think you need a Handles MyBase.Load after the Page_Load. Not sure I haven't used VB in a long time.
The other option I was talking about is to put the text box on the page at design time rather than in your code. Set the .Visible Property to False and in your original...
make sure that the image is in the same directory as your page.
Make sure Datestring has a value in it
That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
You need to make sure to generate the control everytime the page posts back.
Remember that web pages are actually stateless. We've just made some really fancy work arounds so that they seem to have a persistant state.
When the page posts back it actually redraws the entire page by parsing...
hmm you've almost got it. problem is that the grid doesn't know the record has been deleted till you bind it, which causes an error if the page doesn't exist anymore.
This should work i think (haven't tested it)
//check to see if your on the last page note-pagecount is not 0 based...
sounds like your xsd file is properly set up. Check to make sure the dataset schema (xsd) is formatted the way you want it.
That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
Brian is slightly mistaken.
If you put dg.CurrentPageIndex = 0 after the databind nothing happens as the grid has already been bound with a current page index value other than 0. Make sure the line is BEFORE the databind line.
That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum...
I would definetly put it into a user control. I try to put most things into a user control then let the page simply display that control. As far as displaying the data you might want to dynamically create a datagrid for each seller and use a dataview to bind the data to it.
You approach would...
put a literal server control on your page and set it's EnableViewState Property to false. Then in your code just type the id of the literal.Text = all the stuff you have above
That'l do donkey, that'l do
[bravo] Mark
If you are unsure of forum etiquette check here faq796-2540
Put the following tag at the top of you aspx page
<%@ Register TagPrefix="uc1" TagName="WebUserControl1" Src="WebUserControl1.ascx" %>
Where the TagName and Src point to your ascx control.
Next put this tag into the html cell
<uc1:WebUserControl1...
As the IDE plays with the Initialize Component method it's tricky to manually edit it. You never know when VS will take you changes out. On your aspx page use the OnEventName property to declare which method to call.
For the datagrid this is OnSelectedIndexChanged=method name
Place that on...
The problem with the dynamic controls is that when the page posts back it looks at your aspx file. Since the dynamically generated controls are obviously not in that file the server doesn't know about them or create them.
John has the right idea on this.
That'l do donkey, that'l do
[bravo]...
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.