Search

You searched for the word(s): userid:324595

Matching Posts

  • SqlCacheDependency with stored procedures

    Dear all, I am new to the notifications which sql server 2005 offer. We have a table hich lists all the users and their assigned tasks. I have followed online procedures to set up the notifications for a table and have tested this on my aspx page using the polling method. However Because I only want the notification per user not per table, I thought I would create a sp to do a simple select based upon the userID i.e. create procedure dbo.getUserTasks @userID as int AS SELECT * FROM userTasks WHERE
    Posted to State Management (Forum) by Zalihe on 12/1/2009
  • Re: Instance usercontrol in BaseUserControl

    I have appraoched it slightly different, where instead of passing the current page to the function I have passed Me (usercontrol) which then allows me to instance it and perform the checks like i have done in the other Base classes.
    Posted to Web Forms (Forum) by Zalihe on 11/5/2009
  • Instance usercontrol in BaseUserControl

    Dear All, I'm working on our error handling for our projects. We have decided that we should use BasePage, BaseMaster and BaseUserControl. In the BasePage and BaseMaster classes I have a function which works like the following i.e. the master would look like protected function IsAlerted(currentPage as Page) dim Mp as BaseMaster = currentPage.Master end function I want to apply the same instance to my function in the BaseUserControl, but I do not know how to instance the usercontrol I've tried
    Posted to Web Forms (Forum) by Zalihe on 11/4/2009
  • Re: Finding the top level master page from BasePage

    Thank-you so much I have implemented this and it seems to not have caused an issues.
  • Re: Master Page error bypassed to aspx page error

    I found the solution from another developer on another forumn who suggested i create properties on my BaseMasterPage to then call on my BasePage. I have done that and it has worked!
  • Master Page error bypassed to aspx page error

    Dear All, I have a BasePage and a BaseMasterPage. From both these classes there is an Alert sub which is called if an error is caught on a aspx page. My issue is I'm trying to test this with the BaseMasterPage but the error gets bypassed if there is an error on the aspx page. I have Alert(errorMessage) on my BasePage I have Alert(errorMessage) on my BaseMasterPage I have default.aspx which inhertis from BasePage, it also has a masterpage which inherits from BaseMasterPage. On my page.master page
  • Finding the top level master page from BasePage

    Hey, I have a web app which has a BasePage.vb in the app_code which all my aspx pages inherit from throughout the entire web app. I have a root site.master page, then at each level could be 5 folders deep i have a app.master page.i.e. I have a section of code on my site.master (panel with controls to display on page). On my BasePage i have a public sub which can get called from any of the aspx pages which should look for the root master page to fin the panel and controls and display the emssage accrodingly
  • Re: Finding the top level master page from BasePage

    It would depend on the page. In some instants the page will inherit directly from site.master, in others it might be two levels below, and in some others it might be three or more levels below. at first before i located the recursive sub i was doing dim pnl as panel = DirectCast(Master.findcontrol("pnl"),panel) if pnl is nothing then pnl = DirectCast(Master.Master.findcontrol("pnl"),panel) which is wrong because I do not want to hard code how ever many levels of Masters there
  • permissions on linked server

    Dear All, I have tried so many differnt ways but I'm at a stand still. I have set up a test.mdb on the same server as the sql server via the linked server method, this all works fine. My issue is when the test.mdb file is on another server i keep geting errors. At first i tried using mapped drives. so i had the test.mdb on my local machine and mapped a drive on the sql server machine to point to my test.mdb. this worked but if you are logged in as another user which one of my collegues did he
  • Re: Linked Server error

    i mispelt it when i was writing it out on my post but in the server management screen it is spelt correctly. I have even tried creating a dsn for the access db and use linked server odbc rather than the ms office jet, but i still get the same probelm with the same error. Zal
Page 1 of 11 (106 items) 1 2 3 4 5 Next > ... Last »