Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Zarcom

    multiple web controls using same prefix

    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...
  2. Zarcom

    To thread or not to thread ?

    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
  3. Zarcom

    Filtering a Datagrid

    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
  4. Zarcom

    Unusual Compilation error

    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...
  5. Zarcom

    Refresh Data on Page After Submit of Button - How?

    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...
  6. Zarcom

    How a PlaceHolder control can resist a postback?

    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...
  7. Zarcom

    Add Web zone to .Net site

    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...
  8. Zarcom

    write xml problem - puts new items in wrong place

    glad you've got it. That'l do donkey, that'l do [bravo] Mark If you are unsure of forum etiquette check here faq796-2540
  9. Zarcom

    How a PlaceHolder control can resist a postback?

    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...
  10. Zarcom

    Can't see the image and textbox

    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
  11. Zarcom

    How a PlaceHolder control can resist a postback?

    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...
  12. Zarcom

    Deleting last row in a datagrid cause an Error

    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...
  13. Zarcom

    write xml problem - puts new items in wrong place

    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
  14. Zarcom

    Deleting last row in a datagrid cause an Error

    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...
  15. Zarcom

    Advice on best approach

    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...
  16. Zarcom

    secret file on web server

    faq855-2388 That'l do donkey, that'l do [bravo] Mark If you are unsure of forum etiquette check here faq796-2540
  17. Zarcom

    POPUP PROBLEM

    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
  18. Zarcom

    .ascx

    Put the following tag at the top of you aspx page <%@ Register TagPrefix=&quot;uc1&quot; TagName=&quot;WebUserControl1&quot; Src=&quot;WebUserControl1.ascx&quot; %> Where the TagName and Src point to your ascx control. Next put this tag into the html cell <uc1:WebUserControl1...
  19. Zarcom

    Datagrid SelectedIndexChanged event will not fire!

    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...
  20. Zarcom

    UserControls ViewState Problems

    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]...

Part and Inventory Search

Back
Top