Search

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

Matching Posts

  • Relative references in Javascript - how?

    We have an ASP.NET 2.0, IE7 site which uses some Javascript. In our development environment, we are referring to the site as (for example) /dev1, but in production we are using /prod1. The Javascript we are using refers to the site uses /dev1, but we would like to make the reference ‘virtual’, or relative to the root, so that when we move code to production, we do not have to find and replace these references. The question is: Can this be done in Javascript, and how? The page we are looking for is
    Posted to Client Side Web Development (Forum) by nickpup on 10/16/2007
    Filed under: Client Script, client Side Web development, IE, IE7, javascript asp.net, javascript in asp.net, javascript syntax, javascript tilde
  • Re: Textbox placeholder issue, ,<BR> not working

    I noticed this also, but can anyone tell me why ? (Thanks for your help). Nick
    Posted to Web Forms (Forum) by nickpup on 8/16/2007
  • Textbox placeholder issue, ,<BR> not working

    I am using a textbox to allow the users to enter IP addresses in a RadWIndow. My code looks like this: Dim txtBox As New TextBox 'Dim PlaceHolder1 As New PlaceHolder() Dim i As Integer Dim lblLable As New Label Dim numIps As Integer Dim newLine As LiteralControl = New LiteralControl( "<BR>" ) Dim spacer As LiteralControl = New LiteralControl( " " ) ' Get the number of labels to create. numIps = 10 For i = 1 To numIps Dim myLabel As Label = New Label() ' Set the
    Posted to Web Forms (Forum) by nickpup on 8/15/2007
  • Re: Javascript does not execute - why?

    The other problem I am having is that when the user expands branches, scrolling occurrs beyond/below the area designated for the treeview, which looks sloppy. Is there any way to avoid that? Thanks in advance, Nick
    Posted to Client Side Web Development (Forum) by nickpup on 6/1/2007
  • Re: Javascript does not execute - why?

    Kristian: Thanks very much, that helped! I am going to look at Ajax. Nick
    Posted to Client Side Web Development (Forum) by nickpup on 5/31/2007
  • Javascript does not execute - why?

    We are using ASP.NET 2.0 and a page that contains master pages, a linked gridview/details view. One of the detailsview fields is a hyperlink which I want to use to open a another window which will then display a treeview to allow the user to select items using checkboxes. Here is the code: **** <%@ Page Language="VB" MasterPageFile="~/Sitemaster.master" AutoEventWireup="false" CodeFile="UserList.aspx.vb" Inherits="AdminPages_UserList" title="Untitled
    Posted to Client Side Web Development (Forum) by nickpup on 5/29/2007
    Filed under: asp.NET, ASP.NET 2.0, ASP.NET 2.0 FormView GridView Master/Detail Update, client, Client Script, client Side Web development, ClientScript, Debugging JS, javascript asp.net, javascript confirmation, Javascript Confirmation Dialog, javascript in asp.net, javascript inline function functions, javascript:
  • ASP.NET 2.0 Treeview indent incorrect - why?

    I am working on the page which displays an ASP.NET treeview control. The data pertains to geographies and regions, basically a hiearchy. The treeview is being poplated programatically from a SQL Server database. The problem is that when I populate the text field with data from the database, the indenting is wrong. Just populating the higher level nodes from the DB produces output like this: Node 1 Node 2 Node 3 Node 4 Node 5 These should all be at the same level. When I change the code to use a string
    Posted to Data Presentation Controls (Forum) by nickpup on 5/18/2007
  • When to access ListBox for DetailsView update?

    I am using a DetailsView control, containing ListBoxes for updating a user table. Within one of the ListBoxes, the user selects roles. In view mode, I want to just display a list of which roles are selected, which come from a table called UserRoleAssignments. But in Update mode, I want to show all of the rows (from the Roles table), selecting (highlighting) the ones previously selected by the user. To do this, I am creating a routine (below): Protected Sub DetailsView1_ItemUpdating( ByVal sender
    Posted to Data Presentation Controls (Forum) by nickpup on 4/25/2007
  • Saving listbox data - best approach?

    We have an ASP.NET 2.0 site that uses SQL Server 2000/2005. I am working on a page that updates our user table. But it will also update multiple related tables. For example, the user could be a member of several different companies and/or organizations and may have 1 to many roles out of a list of available roles. These are handled with listboxes and stored in related Companies, Organizations and Role tables, along with normalized linking tables. We are also using the ObjectDataSource control, and
    Posted to Data Access and ObjectDataSource Control (Forum) by nickpup on 4/19/2007
    Filed under: object data source, ObjectDataSource DataSet Multitable, passing object, sql, SQL Performance, Stored Procedures, VB.Net, ADO.NET, ASP.NET, Business Object, Data, Data Access, data set, DataAdapter, Database, databind, DataSet, DataTable, DataView SqlDataSource, design, SQL Server ADO.NET Transactions
  • What is this line of code?

    In this line of code: Dim strProvince As String = CType(frmV.DataItem, DataRowView)("Province") What is the ("Province") part? This is from a sample I am working with, and I think it will compile, but I don't recognize that last element. It is initializing a string, but I don't think I've seen that syntax before? Nick
    Posted to Visual Basic .NET (Forum) by nickpup on 3/30/2007
    Filed under: programming, VB, vb.net, .NET, ASP.NET
Page 1 of 5 (49 items) 1 2 3 4 5 Next >