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 bkrike 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: *

  • Users: manishsawant
  • Content: Threads
  • Order by date
  1. manishsawant

    Restrict second user with the same credentials to login

    Hi, I want to restrict the second user with the same loginid trying to login in to the application by displaying a confirm dialog box saying "User with the same login credentials already logged in, would you like to overwrite him." If the user clicks yes then he overwrites the first user and...
  2. manishsawant

    Footer on aspx page

    Hi, I want to have a footer at the bottom of a aspx page as how we have on this page (Copyright stuff). The aspx page has a <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Here is the code in the .aspx page. <%@ Page...
  3. manishsawant

    &lt;!DOCTYPE and AJAX controls issue

    Hi, If i remove <!DOCTYPE then some of the AJAX Controls doesnt give expected results. For example the UpdateProgress, even if i have mentioned HorizontalSide="Center" VerticalSide="Middle" in AlwaysVisibleControlExtender the image inside the UpdateProgress show up at the top left corner. Is...
  4. manishsawant

    textbox onchange issue

    Hi, I have a textbox and a combobox. I have written code to select a value from the combobox when the user start typing in the textbox(onChange). var Type = document.getElementById('cmbType'); var TypeText = 'Select Type'; if(Type.options[Type.selectedIndex].text == TypeText) {...
  5. manishsawant

    Forms authentication redirect to login page

    Hi, I am developing a web site using ASP.net 2.0 and authentication is Forms. As per the client requirements we have used frameset as they wanted the top part which contain the menus not to refresh. So when ever there is a session timeout the user is redirected to the login page, but the login...
  6. manishsawant

    Date calcution

    Hi, I want to get the start of current Month, start of week(currect weeks Monday) in mm/dd/yyyy format, start of Quarter. All these dates in mm/dd/yyyy format. Thanks, Manish
  7. manishsawant

    Check for string inside a string

    Hi, I want to check for a string inside a string and if it exists then return true else return false. The string might be "Select Name" so i want to check if there is "Select" in the string then return true else false. I can hardcode the value in the if condition for the check. Thanks, Manish
  8. manishsawant

    window.createPopup error

    Hi, I am getting a error when i click on the button which is inside a DIV and the DIV is an innerhtml of the popup object. The error is top.Popup is null or not an object. Here is the code var oPopup = window.createPopup(); function ShowErrorMsgBox(ErrMsg,MsgPosition) { // The popup...
  9. manishsawant

    Load page Asynchronously

    Hi, I want to load my page Asynchronously. I tried using Page.RegisterAsyncTask( new PageAsyncTask(new BeginEventHandler(this.BeginAsyncBindGrid), new EndEventHandler(this.EndAsyncBindGrid), new EndEventHandler(this.TimeoutHandler), true) ); BeginEventHandler returns IAsyncResult but...
  10. manishsawant

    Make div inline or visible problem

    Hi, I have a hidden variable which is either set to 0 or 1. I have written a javascript function where i check if the hidden field value is 0 then make div display:none else make it inline. This javascript function is called on body onload. When onload is fired then the div becomes inline or...
  11. manishsawant

    Disable/Enable ASP.net button when clicked using AJAX

    Hi, I am using ASP.net 2.0 and Ajax Extensions 1.0. I have got some controls on the page and a search button(asp.net button). When i click the search button i make a call to a web service which gets me the data. What i want to do is to disable the search button till i get the data and then...
  12. manishsawant

    Cache object in global.asax

    Hi, I am using the cache object to store user permissions as i want these permissions in the global.asax. On successful login i store the permissions in the cache object. Suppose there are 2 users and first one logs in and gets inside the site then the second one logs in so will the permissions...
  13. manishsawant

    On postback TemplateField disappears in a GridView

    Hi, I am using ASP.net 2.0 and am creating TemplateFields and BoundColumns for a GridView at runtime. I have created a class for creating buttons which implements ITemplate interface. Before binding the grid i have written. TemplateField t = new TemplateField(); t.ItemTemplate = new...
  14. manishsawant

    Dynamic parent child grid

    Hi, I want to create a parent child grid. Something like Col1 Col2 Col3 + A B C + D E F When i click on + i should get.. Col1 Col2 Col3 - A 10 C --> parent row A 5 C --> child Rows A 3 C A 2 C - D 20 F D...
  15. manishsawant

    Datatype validation

    Hi, I want to check if a string is a int or a number with 2 decimals or 4 decimals. I tried this if (double.TryParse(dr[Col].ToString(),NumberStyles.Currency,CultureInfo.CurrentCulture, out result)) but it doesnt work for 4 decimals like "11.1245". Similarly i want to check a string which...
  16. manishsawant

    SiteMap rolebased menu not working on windows 2003 server

    Hi, I have created role-based sitemap menus where in the roles are coming from the database. For each menu page i have created a folder along with the page it has a web.config file. The web.config file has authorization as <authorization> <allow roles="EDIT"/> <deny users="*"/> </authorization>...
  17. manishsawant

    Controller component for authentication

    Hi, I want to create a component where in every web request should pass through the component and the component should decide whether the user has got permission to view the page contents or not. For example in case there are 2 users, user1 has got permission to view url...
  18. manishsawant

    Textbox focus on button click

    Hi, I am using ASP.net 2.0. I want to give focus on a textbox on a click of a button. I have written a javascript function and i am adding it as a attribute to the button. Javascript : function GetFocusonElements(element) {...
  19. manishsawant

    Atlas not working.

    Hi, Atlas is not working in my ASP.net website. I created the site as Atlas website. My web.config file is : <?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the...
  20. manishsawant

    Avoiding page refresh

    Hi All, Is it possible that when clicked on a menu which is in Master page only the contentplacehoder should get refreshed and not the entire master page..if this is not possible in case of Master page then how can this be done? I don't want to use Frames. Can we make a parent child pages and...

Part and Inventory Search

Back
Top