| Code Behind (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Copied from [aspngvs] to [aspngreuse] by Charles M. Carroll darthcarroll@asplists.com I am building a user control in vs.net beta 2. I created the elements on the .ascx file. I am now trying to create the logic. I have a .dll in the /bin folder named CP2.dll which was built from boUser.vb. In boUser.vb I have a namespace named CPNet which contains classes boUser and structUser. Whenever I try to i... |
|
| WG: loading web user controls dynamically (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Hi there, I tried to load my user control (an input form) dynamically into a placeholder control in a method of another (menu like) control: System.Web.UI.WebControls.PlaceHolder placeHolder (PlaceHolder) Page.FindControl("PlaceHolder1"); placeHolder.Controls.Clear(); placeHolder.Controls.Add(LoadControl("../Controls/Admin/HospitalList.ascx")) ; Works fine. User clicks on menu entry and the form s... |
|
| Client Side Confirmation (4 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngwebcontrols] to [aspngreuse] by Charles M. Carroll darthcarroll@asplists.com Whenever I have a delete button that will delete some record or records I like to get a confirmation from the user before I actually perform the delete. In Classic ASP I just used some JavaScript on the client with a confirm command. If the user clicked OK then I redirected to a delete page. If the user c... |
|
| user controle problem (3 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngwebservices] to [aspngreuse] by Charles M. Carroll darthcarroll@asplists.com hi all i developped one small user controle which contains 4 tables. i want to set up one of the table's height through property. i created that property as writeonly.i registered this user controle in my web form. but when i run my program(.aspx), i am getting following eerror. i am including my .ascx co... |
|
| Common Function (4 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngdata] to [aspngreuse] by Charles M. Carroll darthcarroll@asplists.com This is a multi part message in MIME format. NextPart 000 000F 01C199D9.46877540 Content Type: text/plain; charset "iso 8859 1" Content Transfer Encoding: quoted printable Hi all, I have written a sub procedure for paging, which takes the PageName and the pagecount as the Arguement and I am returning 20 the hype... |
|
| Open source CMS written in .NET? (2 replies) |
| ASPFriends.com 'aspngreuse' list |
| Is anyone working on an open source web content management system (CMS) based on .NET? There's a number of them available for PHP in the unix world, and .NET would make a much better platform for a flexible object based CMS system with pluggable modules. IBuySpy is a good start for ideas, but IMHO is too rigid, lacks WYSIWYG editing, clean URLs, advanced templates, and has a framework that seems b... |
|
| How to add a user control programaticly (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Charles M. Carroll darthcarroll@asplists.com Hi all, I have a user control (ascx) which i want to add programaticly to my page. I tryed this 20 Dim test As menu '(menu is mine usercontrol) Page.Controls.Add(test) Without success : ( Any help would be great, Thanks Roland |
|
| Windows.Forms control in an HTA application? (3 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| I had no idea where to send this question... I want to write an hta which includes a .net winforms control ( combobox, actually ). If you don't know what an hta is, it's just an html file which has local application rights. http://msdn.microsoft.com/library/?url /workshop/author/hta/hta node entry.asp?frame true I've looked at the quickstarts, and tried to follow the example here: http://www.dotne... |
|
| ViewState problem when adding UserControls Dynamically (6 replies, VIP) |
| ASPFriends.com 'aspngreuse' list |
| We have a web form that is adding user controls to a panel dynamically. There are a number of user controls, and which one is loaded is determined from a DropDownList. Everything appears to be working correctly with one exception. At given times we get the error: InvalidCastException on the line: Panel1.Controls.Add(LoadControl(strUserControlFileName)); We determined that the issue is related to V... |
|
| including ASCX files.. (4 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Charles M. Carroll charlesmarkcarroll@yahoo.com Developing in ASP.NET using C#.. I have created a User Control ASCX file that I initialize on my page with : %@ Register Tagprefix "MenuHeader" Tagname "CSISHeader" Src "CSISHeader.ascx" % which works perfectly.. if I try to reference the file outside the project like this : %@ Register Tagprefix "MenuH... |
|
| User Control problem (3 replies) |
| ASPFriends.com 'aspngreuse' list |
| Moved from [aspngfreeforall] to [aspngreuse] by Charles M. Carroll charlesmarkcarroll@yahoo.com I have a Page (EditUserInfo.aspx) which has user control (teams.ascx). This user control has only a data bound list box containing a list of teams. When I arrive at EditUserInfo.aspx I want the page (in effect the user control) to have the relevant team name selected. I am trying to do this through a Se... |
|