Change vs.net internal browser???


If possible, how do I change the internal browser to something other than Internet Explorer if I want to preview/debug my pages from the IDE I would like to use FireFox or Netscape for instance.
Posted On: Wednesday 2nd of January 2013 01:26:54 AM Total Views:  385
View Complete with Replies

RELATED TOPICS OF ASP.NET PROGRAMMING LANGUAGE




Creating textboxes and dropdownlists depending on user input?

The user will upload an excel file to server, the server will extract the data on the excel file, now my problem is; for each field in the excel document my webapplication needs create 2 textboxes and 1 dropdownbox, the user is not resticted to a certain amount of fields on the excel document so the user can add as many fields as he likes; i need to know the syntax for creating webforms (such as textbox or dropdownbox) depending on a variable value.Im using ASP.NET and VB.NET on VS.NET '03
VIEWS ON THIS POST

207

Posted on:

Sunday 11th November 2012
View Replies!

WebServices over SSL connection

,I'm trying to call a web service via another web service over an SSL connection, but recieve the following errorSoapException:Underlying connection was closed.Unable to establish trust relationship with remote server.I can get SSL working between a WindowsApp and the first web service, but between the two services it fails.Does any one out there know a solution to this, as I'm at a complete loss
VIEWS ON THIS POST

240

Posted on:

Sunday 11th November 2012
View Replies!

Getting string from registry key !!!

I will need your help on this.I created a website survey that stores all the data in the Access database.User enters the data and clicks on Submit button, everything works fine.But I want to be able to get computer name from the registry, so I don't have to ask user for it, many of them don't know where to look for it.Is there a way to extract string from registry key and store it in the database with rest of the data help is appreciated
VIEWS ON THIS POST

110

Posted on:

Sunday 11th November 2012
View Replies!

dynamically created datagrid event handlers

hello , my code is long and complex (probably unnessiarily so as I am new and dont know all the coding protocol and shortcuts) but here's a snippet of the part I am having trouble with. Public Sub SetGridProperties(theGrid, num) 'declare a new datagrid and set properties theGrid.Width = Unit.Pixel(700) theGrid.BorderWidth = Unit.Pixel(2) theGrid.CellPadding = 10 theGrid.GridLines = GridLines.Both theGrid.BorderColor = Color.Blue theGrid.ShowHeader = True theGrid.AutoGenerateColumns = False theGrid.SelectedItemStyle.BackColor = Color.Yellow 'add bound columns to the datagrid Dim datagridcol As New BoundColumn() datagridcol.HeaderText = "Option Number" datagridcol.DataField = "OptionNumber" theGrid.Columns.Add(datagridcol) datagridcol = New BoundColumn() datagridcol.HeaderText = "Manufacturing Part Number" datagridcol.DataField = "ManfPartNumber" theGrid.Columns.Add(datagridcol) datagridcol = New BoundColumn() datagridcol.HeaderText = "Description" datagridcol.DataField = "Description" theGrid.Columns.Add(datagridcol) datagridcol = New BoundColumn() datagridcol.HeaderText = "List Price" datagridcol.DataField = "ListPrice" theGrid.Columns.Add(datagridcol) Dim selectcol As New ButtonColumn() selectcol.ButtonType = ButtonColumnType.LinkButton selectcol.Text = "Select" selectcol.CommandName = "Select" theGrid.Columns.Add(selectcol) 'add event handlers AddHandler CType(thegrid, DataGrid).SelectedIndexChanged, AddressOf DataGrid_SelectedIndexChanged 'bind datagrid theGrid.DataSource = GetDataSet(num) theGrid.DataBind() end sub Public Sub DataGrid_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) response.redirect("http://www.msn.com") End Sub Basically here I have created a dynamic datagrid in a placeholder, in the code above i am setting its properties and populating it from a database (set by the GetDataSet(num) function which is not shown). everything works as expected, the only problem I am having is that when you click on a "Select" button in a row in the grid, the DataGrid_SelectedIndexChanged sub doesnt seem to fire. I am not redirected to msn.com (just a test i put in there to see if the event fires, obviously not the final result) instead the page just does a post back and the datagrid disapears, which is due to it being dynamic it doesnt stick around, thats ok i just basically want to redirect to a new page with a querysting tacked on depending on which element was clicked. Now as i mentioned, im new so im probably doing something wrong here. could anyone please help me out I need to redirect to a different page and i also need to pull out some of the data in the row that was clicked to put into the query string such as the contents of the Manufacturing Part Number column.
VIEWS ON THIS POST

200

Posted on:

Monday 12th November 2012
View Replies!

lan messenger in asp .net

, i want create a online lan messenger in asp.net for my office users there is number of user in office . i wants to do like a website which run on a local computer through lan and other will access it through browser by its IP address. if any one can help me over it please email me on This post has been edited by macosxnerd101: 03 September 2011 - 11:46 AM Reason for edit:: Email removed per site policies. Please keep all work via the forums
VIEWS ON THIS POST

261

Posted on:

Friday 16th November 2012
View Replies!

javascript file call in Visual C# asp.net code

Calling a javascript file involves first registering it in Page.RegisterClientScriptBlock() in the Page_Load event and then call its function in a control e.g. Page.RegisterClientScriptBlock("MyScript", _ "") But how do you go about calling the following javascript file call in a Visual C# asp.net code: In this case there is no function that you can call in a control. The file call as you will note is parameter based. Please assist. Thank you.
VIEWS ON THIS POST

181

Posted on:

Friday 16th November 2012
View Replies!

Asking for capturing process

Sir, I want to ask that, How I can capture an image automatically from an running video movie, that is running in web base asp.net media player. Please, provide help in any format "in code, in written steps, in programming etc".
VIEWS ON THIS POST

239

Posted on:

Friday 16th November 2012
View Replies!

Basic question, but I'm a newbie

I have a datagrid on my web page and am trying to update the underlying SQL database. I cannot find out how to do it, but that's another problem. The code I have found relates to the edit/update and cancel buttons. How to I access the event for these buttons If I doubleclick on the Edit button it opens the DataGrid1_SelectedIndexChanged event.I am using SqlAdapter and datasets to bind to my datagrid. If anyone can point me to some easily understood code to update my data I would be pleased.Can I substitute the datagrid for text boxes and update these as my datagrid is filtered and only ever shows one record.TIA
VIEWS ON THIS POST

143

Posted on:

Monday 19th November 2012
View Replies!

Writing node with attributes to exisiting XML file c#

Ok... I've been working on this all day with no luck so I'm writing where I'm at now and please can someone help me even if it's something really stupid that I've missed. I have a XML file to store registrations from a web site (don't ask why, that's just the way it is ) it is within the root folder of the website (and therefore on the same server). And when A registration is being recorded this is the code I have so far: XmlDocument doc = new XmlDocument(); doc.Load(Server.MapPath("users.xml")); XmlNode newNode = doc.CreateNode(XmlNodeType.Element, "user", null); XmlAttribute id; XmlAttribute name; XmlAttribute email; id = doc.CreateAttribute("id"); id.Value = userName.Text; name = doc.CreateAttribute("name"); name.Value = name.Text; email = doc.CreateAttribute("email"); email.Value = email.Text; newNode.Attributes.Append(id); newNode.Attributes.Append(name); newNode.Attributes.Append(email); // find the node we want to add the new node to XmlNodeList l = doc.GetElementsByTagName("users"); // append the new node l[0].FirstChild.AppendChild(newNode); // save the file doc.Save(Server.MapPath("users.xml")); And here is my XML: But I get an error like this in FireFox 3.0: XML Parsing Error: no element found Location: http://www.mywebserver.com Line Number 1, Column 1: And in IE 8 I get nothing I have looked at using a Web Client, but it seems wrong to have to use that to access a file on my own server
VIEWS ON THIS POST

120

Posted on:

Friday 23rd November 2012
View Replies!

Web Services vb.net

I am unsure how to cast from integer to string if that is even what is required. ID field in db is Integer. I can't seem to find any relevant advice, and also I followed the video step by step, using Access 2007 vs. SQLServer and VWD2010, so no AJAX enabled site option available, but I have included everything needed as far as I know: Imports System.Web Imports System.Web.Script.Services Imports System.Web.Script.Services.ScriptMethodAttribute Imports System.Web.Services Imports System.Web.Services.Protocols Imports AjaxControlToolkit Imports System.Data Imports System.Data.OleDb Imports System.Data.OleDb.OleDbConnection Imports System.Configuration Imports System.Collections Imports System.Collections.Generic Imports System.Collections.Specialized _ _ _ _ Public Class SPGSvc Inherits System.Web.Services.WebService _ _ Public Function GetSPG(ByVal knownCategoryValues As String, ByVal category As String) As CascadingDropDownNameValue() Dim spgAdapter As New dsSPGTableAdapters.SPGsTableAdapter Dim spgValues As New List(Of CascadingDropDownNameValue)() For Each row As DataRow In spgAdapter.GetSPG() spgValues.Add(New CascadingDropDownNameValue(row("SPG").ToString(), row("SPGID").ToString())) Next Return spgValues.ToArray End Function _ Public Function GetFLOW(ByVal knownCategoryValues As String, ByVal category As String) As CascadingDropDownNameValue() Dim kv As StringDictionary = CascadingDropDown.ParseKnownCategoryValuesString(knownCategoryValues) Dim SPGID As Integer If ((Not kv.ContainsKey("SPG")) Or (Not Int32.TryParse(kv("SPG"), SPGID))) Then Return Nothing End If Dim flowAdapter As New dsFLOWTableAdapters.FlowsTableAdapter Dim flowValues As New List(Of CascadingDropDownNameValue)() For Each row As DataRow In flowAdapter.GetFLOW(SPGID) flowValues.Add(New CascadingDropDownNameValue(row("FLOW").ToString(), row("SPGID").ToString())) Next Return flowValues.ToArray End Function End Class This post has been edited by miweiser: 13 May 2010 - 10:47 AM
VIEWS ON THIS POST

200

Posted on:

Saturday 24th November 2012
View Replies!

SMPP Server

How to Send SMS With SMPP Connection in ASP.NET. The Complete Source Code To SMPP Connection in asp.net
VIEWS ON THIS POST

166

Posted on:

Saturday 24th November 2012
View Replies!

ASP.NET using C#

How can I split a form like that of frames in HTML\t I have created two table one below the other in which I have inserted required labels, text boxes etc. I want to some other tables beside those table which am unable to do. So is it possible to split the form into frames like in HTML
VIEWS ON THIS POST

138

Posted on:

Saturday 24th November 2012
View Replies!

Debugging question

Hi . I am trying to debug a website that is giving me errors in some of the SQL database calls. However I need to find out what the call looks like at runtime because they are generated in the C# code of the website. The problem is that this website relies on a DLL file and doesn't have the C# code in the directory. I have a base template of this website that has the C# code, but when I deploy a template I compile the code and the resulting website doesn't have the C#, just a dll. I am kind of a newbie at debugging this stuff... I was thinking I have to copy the C# code to the ASP.NET website I want to debug, and then change the settings so that it uses the C# code instead of the dll and I can insert breakpoints and check out what's going on. Any ideas Sorry if it's kind of confusing Edit: Just wanted to ask if it's possible to debug this while it's on the IIS server. I have debug enabled in the config file but it doesn't show me what the SQL query is that is giving the error, just the error itself This post has been edited by chiguy: 14 June 2012 - 10:39 AM
VIEWS ON THIS POST

92

Posted on:

Saturday 24th November 2012
View Replies!

Login control by OleDB (Access)

Dear everybody, I wanna write a new login control such as what is in Visual studio but with OleDB, I wanna authenticate users with different roles and different permissions. would you please give me some advice and samples ! Best
VIEWS ON THIS POST

84

Posted on:

Saturday 24th November 2012
View Replies!

Publishing login tut to live site

So I've started an ASP.Net project that will require users to login/create-login. I've followed the TUT with VS Web, and have it working perfectly on my local machine. I have a host I'm trying to publish to for testing (and changing/learning). I've copied the site over, each file the same as it was in local working state, but when I goto the site I can only access the main page (that inludes loginview and loginstatus), and the createnewuser page. The page loads and I can enter the data in, but once I submit, I'm greeted with this: QuoteAn error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
VIEWS ON THIS POST

181

Posted on:

Saturday 24th November 2012
View Replies!

user control : client side or server side ?

I have to make a user control (reusable in many pages) for selecting days in a week.I created a user control, inside I put 7 textbox (asp:TextBox).When the user clicks on a textbox, the back-color changes to blue and the forecolor to white. If another click is made to the same textbox, the back-color returns to white and forecolor to black. Those actions are made in client-side, I don't want no refresh of the page.My problem is when I want to save the week on a button-click event (server side), the values (backcolor & forecolor) are the original values (same as on the Load). How can I get the same values as client-sideps. I tried changing the tooltip but on server side, its also the original value!sebastien*** EDITED 'July 19th' ****** added code here ***Client-Side Code of UserControlCode: \t\t\t\t// Variables //\t\tvar inobitwise = 0;\t\t\t\t//================================================================\t\t// Select or UnSelect the day and call function to set (or not) \t\t// the hiddenfield related to the day\t\t//================================================================\t\tfunction validateData() \t\t{ \t\t\t\tif (document.activeElement.style.backgroundColor=='blue')\t\t\t\t{ \t\t\t\t\t\tdocument.activeElement.style.color='black';\t\t\t\t\t\tdocument.activeElement.style.backgroundColor='transparent';\t\t\t\t} \t\t\t\telse \t\t\t\t{ \t\t\t\t\t\tdocument.activeElement.style.color='white';\t\t\t\t\t\tdocument.activeElement.style.backgroundColor='blue'; \t\t\t\t} \t\t\t\t\t\t\t\tinobitwise = inobitwise + get_bitwise_ind(document.activeElement);\t\t} \t\t\t\t//================================================================\t\t// Sets (or unsets) the hiddenfield related to the day received\t\t// and returns the bitwise of the day\t\t//================================================================\t\tfunction get_bitwise_ind(oTxt)\t\t{ \t\t\t\tvar selected = (oTxt.style.color=='white');\t\t\t\t\t\t\t\tswitch (oTxt.title)\t\t\t\t{\t\t\t\t\t\tcase "Dimanche":\t\t\t\t\t\t\t\tif (selected == false)\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hD').value=0\t\t\t\t\t\t\t\t\t\treturn -1}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hD').value=1\t\t\t\t\t\t\t\t\t\treturn 1}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbreak\t\t\t\t\t\t\t\t\t\t\t\t\t\tcase "Lundi":\t\t\t\t\t\t\t\tif (selected == false)\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hL').value=0\t\t\t\t\t\t\t\t\t\treturn -2}\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hL').value=1\t\t\t\t\t\t\t\t\t\treturn 2}\t\t\t\t\t\t\t\tbreak \t\t\t\t\t\tcase "Mardi":\t\t\t\t\t\t\t\tif (selected == false)\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hM').value=0\t\t\t\t\t\t\t\t\t\treturn -4}\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hM').value=1\t\t\t\t\t\t\t\t\t\treturn 4}\t\t\t\t\t\t\t\tbreak\t\t\t\t\t\tcase "Mercredi":\t\t\t\t\t\t\t\tif (selected == false)\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hMm').value=0\t\t\t\t\t\t\t\t\t\treturn -8}\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hMm').value=1\t\t\t\t\t\t\t\t\t\treturn 8}\t\t\t\t\t\t\t\tbreak\t\t\t\t\t\tcase "Jeudi":\t\t\t\t\t\t\t\tif (selected == false)\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hJ').value=0\t\t\t\t\t\t\t\t\t\treturn -16}\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hJ').value=1\t\t\t\t\t\t\t\t\t\treturn 16}\t\t\t\t\t\t\t\tbreak\t\t\t\t\t\tcase "Vendredi":\t\t\t\t\t\t\t\tif (selected == false)\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hV').value=0\t\t\t\t\t\t\t\t\t\treturn -32}\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hV').value=1\t\t\t\t\t\t\t\t\t\treturn 32}\t\t\t\t\t\t\t\tbreak \t\t\t\t\t\tcase "Samedi":\t\t\t\t\t\t\t\tif (selected == false)\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hS').value=0\t\t\t\t\t\t\t\t\t\treturn -64}\t\t\t\t\t\t\t\telse\t\t\t\t\t\t\t\t\t\t{document.getElementsByName('UcJours1$hS').value=1\t\t\t\t\t\t\t\t\t\treturn 64}\t\t\t\t\t\t\t\tbreak\t\t\t\t} \t\t} \t\tD\t\tL\t\tM\t\tM\t\tJ\t\tV\t\tS\t\t\t\t\t\t\t\t\t\t\t\t\t\tServer Side Code of UserControlCode:Imports System.DataPartial Class ucJours\t\tInherits System.Web.UI.UserControl\t\tPrivate Const xBackColorOff As String = "transparent"\t\tPrivate Const xBackColorOn As String = "blue"\t\tPrivate Const xForeColorOff As String = "black"\t\tPrivate Const xForeColorOn As String = "white"\t\tPrivate ciJoursBitwise As Integer = 0\t\tPublic Property visibled() As Boolean\t\t\t\tGet\t\t\t\t\t\tReturn Panel1.Visible\t\t\t\tEnd Get\t\t\t\tSet(ByVal pbVisibled As Boolean)\t\t\t\t\t\tPanel1.Visible = pbVisibled\t\t\t\tEnd Set\t\tEnd Property\t\tPublic Property enable() As Boolean\t\t\t\tGet\t\t\t\t\t\tReturn Panel1.Enabled\t\t\t\tEnd Get\t\t\t\tSet(ByVal bValue As Boolean)\t\t\t\t\t\tPanel1.Enabled = bValue\t\t\t\tEnd Set\t\tEnd Property\t\tPublic Sub set_BitWise(ByVal iJours As Integer)\t\t\t\t'set la variable de la classe\t\t\t\tciJoursBitwise = iJours\t\t\t\tIf (iJours And (2 ^ 0)) = (2 ^ 0) Then\t\t\t\t\t\ttxtD.BackColor = System.Drawing.Color.FromName(xBackColorOn)\t\t\t\t\t\ttxtD.ForeColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\t\t\t'txtD.ToolTip = "1"\t\t\t\t\t\t'txtDimanche.BorderColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\tElse\t\t\t\t\t\ttxtD.BackColor = System.Drawing.Color.FromName(xBackColorOff)\t\t\t\t\t\ttxtD.ForeColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\t\t\t'txtDimanche.BorderColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\t\t\t'txtD.ToolTip = "0"\t\t\t\tEnd If\t\t\t\tIf (iJours And (2 ^ 1)) = (2 ^ 1) Then\t\t\t\t\t\ttxtL.BackColor = System.Drawing.Color.FromName(xBackColorOn)\t\t\t\t\t\ttxtL.ForeColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\t\t\t'txtLundi.BorderColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\tElse\t\t\t\t\t\ttxtL.BackColor = System.Drawing.Color.FromName(xBackColorOff)\t\t\t\t\t\ttxtL.ForeColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\t\t\t'txtLundi.BorderColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\tEnd If\t\t\t\tIf (iJours And (2 ^ 2)) = (2 ^ 2) Then\t\t\t\t\t\ttxtM.BackColor = System.Drawing.Color.FromName(xBackColorOn)\t\t\t\t\t\ttxtM.ForeColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\t\t\t'txtMardi.BorderColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\tElse\t\t\t\t\t\ttxtM.BackColor = System.Drawing.Color.FromName(xBackColorOff)\t\t\t\t\t\ttxtM.ForeColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\t\t\t'txtMardi.BorderColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\tEnd If\t\t\t\tIf (iJours And (2 ^ 3)) = (2 ^ 3) Then\t\t\t\t\t\ttxtMm.BackColor = System.Drawing.Color.FromName(xBackColorOn)\t\t\t\t\t\ttxtMm.ForeColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\t\t\t'txtMercredi.BorderColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\tElse\t\t\t\t\t\ttxtMm.BackColor = System.Drawing.Color.FromName(xBackColorOff)\t\t\t\t\t\ttxtMm.ForeColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\t\t\t'txtMercredi.BorderColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\tEnd If\t\t\t\tIf (iJours And (2 ^ 4)) = (2 ^ 4) Then\t\t\t\t\t\ttxtJ.BackColor = System.Drawing.Color.FromName(xBackColorOn)\t\t\t\t\t\ttxtJ.ForeColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\t\t\t'txtJeudi.BorderColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\tElse\t\t\t\t\t\ttxtJ.BackColor = System.Drawing.Color.FromName(xBackColorOff)\t\t\t\t\t\ttxtJ.ForeColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\t\t\t'txtJeudi.BorderColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\tEnd If\t\t\t\tIf (iJours And (2 ^ 5)) = (2 ^ 5) Then\t\t\t\t\t\ttxtV.BackColor = System.Drawing.Color.FromName(xBackColorOn)\t\t\t\t\t\ttxtV.ForeColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\t\t\t'txtVendredi.BorderColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\tElse\t\t\t\t\t\ttxtV.BackColor = System.Drawing.Color.FromName(xBackColorOff)\t\t\t\t\t\ttxtV.ForeColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\t\t\t'txtVendredi.BorderColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\tEnd If\t\t\t\tIf (iJours And (2 ^ 6)) = (2 ^ 6) Then\t\t\t\t\t\ttxtS.BackColor = System.Drawing.Color.FromName(xBackColorOn)\t\t\t\t\t\ttxtS.ForeColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\t\t\t'txtSamedi.BorderColor = System.Drawing.Color.FromName(xForeColorOn)\t\t\t\tElse\t\t\t\t\t\ttxtS.BackColor = System.Drawing.Color.FromName(xBackColorOff)\t\t\t\t\t\ttxtS.ForeColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\t\t\t'txtSamedi.BorderColor = System.Drawing.Color.FromName(xForeColorOff)\t\t\t\tEnd If\t\tEnd Sub\t\t\t\tPublic Function get_BitWise2() As Integer\t\t\t\tDim iBitWise As Integer = 0\t\t\t\t'MessageBox.Show(Request.Form("get_bitwise()"))\t\t\t\tIf Request.Form("UcJours1$hD").ToString = "1" Then\t\t\t\t\t\t'activ\t\t\t\t\t\tiBitWise = iBitWise + 1\t\t\t\tEnd If\t\t\t\tIf Request.Form("UcJours1$hL").ToString = "1" Then\t\t\t\t\t\t'activ\t\t\t\t\t\tiBitWise = iBitWise + 2\t\t\t\tEnd If\t\t\t\tIf Request.Form("UcJours1$hM").ToString = "1" Then\t\t\t\t\t\t'activ\t\t\t\t\t\tiBitWise = iBitWise + 4\t\t\t\tEnd If\t\t\t\tIf Request.Form("UcJours1$hMm").ToString = "1" Then\t\t\t\t\t\t'activ\t\t\t\t\t\tiBitWise = iBitWise + 8\t\t\t\tEnd If\t\t\t\tIf Request.Form("UcJours1$hJ").ToString = "1" Then\t\t\t\t\t\t'activ\t\t\t\t\t\tiBitWise = iBitWise + 16\t\t\t\tEnd If\t\t\t\tIf Request.Form("UcJours1$hV").ToString = "1" Then\t\t\t\t\t\t'activ\t\t\t\t\t\tiBitWise = iBitWise + 32\t\t\t\tEnd If\t\t\t\tIf Request.Form("UcJours1$hS").ToString = "1" Then\t\t\t\t\t\t'activ\t\t\t\t\t\tiBitWise = iBitWise + 64\t\t\t\tEnd If\t\t\t\t'set la variable de la classe\t\t\t\tciJoursBitwise = iBitWise\t\t\t\tReturn iBitWise\t\tEnd FunctionEnd ClassI drag and drop the usercontrol onto a blank aspx page, and on the load, I call:"UcJours1.set_BitWise(45)" and it fills the controlI add a button onto the same aspx page, and on the click event (server side) I call that:MessageBox.Show("bitwise = " & UcJours1.get_BitWise2.ToString)
VIEWS ON THIS POST

104

Posted on:

Sunday 25th November 2012
View Replies!

Heavy Traffic Web Application Design Guidelines

\t\tI received a SRS for a new web application project. The client states that they want to support 14 to 15 million users in the proposed web application which is to be developed using .NET 2.0 and SQL server 2005. I have no experience in developing a web application that supports these much # of users and data.\t\tPlease give me some guild lines on the following:1.\t\tTo handle this huge amount of requests to the web application 2.\t\tHandling huge amount of data to be stored in the database and process it.3.\t\tThe system design / architecture design and database design \t\tMy planning for this project:\t\t1.\t\tUsing WINDOW CLUSTERED SERVER and NLB with multiple systems for handling huge amount of request2.\t\tUsing data partition in SQL server 2005 tablePlease let me know if I am correct with the planning And also give your valuable suggestion for this scenario. It would be great a help for me
VIEWS ON THIS POST

233

Posted on:

Sunday 25th November 2012
View Replies!

image button inside the datagrid.

helloi am working in asp.net with c#.i have a datagrid.inside the datagrid i am placing an image button.on that image button click event i have to display another datagrid inside the datagrid that already presents.i have tried out nested datagrid.any suggestions along with coding part is welcome.help me to get rid of this problem pleasee
VIEWS ON THIS POST

192

Posted on:

Sunday 25th November 2012
View Replies!

asp.net 2.0 gridview sort

There are gridviews in different webforms which have the sorting functionality. the gridviews sorting functionality on forms work fine except on one form.The only difference between this form and the other forms is that the gridview is using extra events such as : grid_RowCommand and grid_RowDataBoundI can not work out why the grid_Sorting event is called twice. For example: first time the sort for a column is "ASC" then you click on the column and then sorting becomes "DESC" which is fine so far, but the grid_Sorting event is called again and therefore the sorting becomes "ASC" again.I believe this is to do with the extra events that I have in the grid i.e. (grid_RowCommand and grid_RowDataBound). Most probably the grid_RowDataBound event.The problem does not seem to be the code and I have come to the conclusion that this can be solved if there is a way to cancel the grid_sorting event being fired from the grid_RowDataBound event.What do you think
VIEWS ON THIS POST

188

Posted on:

Sunday 25th November 2012
View Replies!

{RESOLVED} - Is it possible to use the .NET dll in the ASP files?

Hai ,\t\tIs it possible to use the .NET dll in the ASP files ( not ASP.NET ). If yes how. if no why.\t
VIEWS ON THIS POST

324

Posted on:

Sunday 25th November 2012
View Replies!

[RESOLVED]Parser Error

I am getting a Parser Error and I'm not sure why. Here is a link to what I am working on (customErrors is turned off here)I wasn't sure if this was because ApplicationName conflicted with the default website (which is located on wilsonzone.com ). I am running this on my development computer and I still get the same error.In case you're not able to see the error, this is what I'm getting:Quote:Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load type 'WilsonZone.Header'.Source Error:Line 1: http://schemas.microsoft.com/intellisense/ie5"; %>Source File: c:\inetpub\wwwroot\wilsonzone\Controls\Header.ascx Line: 1 Any suggestionsTIAEDIT: Oops, I forgot to resolve it.
VIEWS ON THIS POST

190

Posted on:

Sunday 25th November 2012
View Replies!

[Resolved] Set OnClick at Runtime

General question.. You have a on an .aspx page. Lets say you want to catch the OnClick event of that button. So you add the appropriate code plus you add to the linkbutton to let it know what method it will be calling when the event is captured. Is it possible to set that OnClick event for that particular linkbutton at runtime in the codebehind (Keep in mind, Code was left out not pertaining to the question)
VIEWS ON THIS POST

264

Posted on:

Sunday 25th November 2012
View Replies!

Submitting a form...

I have read a lot of posts here in the forum, but none of the solutions I try seem to work. I want to do is force a postback to a form after a certain process is successfull.The form is a single parent form with no children.1) When a DELETE button is pressed on a row in a datagrid, it obviously posts back the form, which I expect. Since this is a postback, it doesn't get the data from the database again, which I expect.2) Some processing is done that deletes a record from the form (code snippet below).3) Upon successfull execution, I would like the form to force a SUBMIT, so I can get the data from the database again without this deleted record. Postback would be FALSE in this case.The name of the form is MbrAdmin.However, the form never gets submitted...Here is the snippert of code:Private Sub DataGrid1_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.ItemCommandIf e.CommandName = "Delete" Then\t\t\t\t\t\tDim blnTransSuccessfull As Boolean\t\t\t\t\t\tDim clsNCVACEMT As New NCVACEMTBLL.Scheduling(CType(Application("strDataSource"), String))\t\t\t\t\t\tTry\t\t\t\t\t\t\t\tDim txtFirstName As Label = CType(e.Item.FindControl("txtFirstName"), Label)\t\t\t\t\t\t\t\tDim txtLastName As Label = CType(e.Item.FindControl("txtLastName"), Label)\t\t\t\t\t\t\t\tblnTransSuccessfull = clsNCVACEMT.DeleteMember(DataGrid1.DataKeys(e.Item.ItemIndex), txtFirstName.Text, txtLastName.Text)\t\t\t\t\t\t\t\tIf blnTransSuccessfull Then\t\t\t\t\t\t\t\t\t\tstrErrMsg = "Member " & txtFirstName.Text & Chr(32) & txtLastName.Text & " successfully inactivated."\t\t\t\t\t\t\t\t\t\tResponse.Write("alert('" & strErrMsg & "');")\t\t\t\t\t\t\t\t\t\tRevalidateCache(DataGrid1.DataKeys(e.Item.ItemIndex))\t\t\t\t\t\t\t\tEnd If\t\t\t\t\t\tCatch ex As OleDbException\t\t\t\t\t\t\t\tstrErrMsg = ex.Message()\t\t\t\t\t\t\t\tResponse.Write("alert('" & strErrMsg & "');")\t\t\t\t\t\tCatch ex As Exception\t\t\t\t\t\t\t\tstrErrMsg = ex.Message()\t\t\t\t\t\t\t\tResponse.Write("alert('" & strErrMsg & "');")\t\t\t\t\t\tFinally\t\t\t\t\t\t\t\tclsNCVACEMT.Dispose()\t\t\t\t\t\t\t\tIf blnTransSuccessfull Then\t\t\t\t\t\t\t\t\t\tResponse.Write("document.all[MbrAdmin].submit();")\t\t\t\t\t\t\t\tEnd If\t\t\t\t\t\tEnd TryEnd SubThe code "Response.Write("alert('" & strErrMsg & "');")" above gets executed and so does the "document.all[MbrAdmin].submit();", but the latter never submits the form.How can I get the form submitted\t
VIEWS ON THIS POST

149

Posted on:

Sunday 25th November 2012
View Replies!

Custom UI controls

Hi I've just started designing in ASP.NET. I would be really grateful if some one could tel me whether there are custom controls in ASP.NET to design a good UI. I'm trying to display some hyperlinks on an aspx page such that they form the shape of an ellipse. The hyperlinks which are away from the centre should look faded while the hyperlinks nearer to the center should look bright.
VIEWS ON THIS POST

198

Posted on:

Sunday 25th November 2012
View Replies!

No definition for parameter error

Hi. I have a code where it will store values from textbox to gridview temporarily without sending to database. Now i have created a button,trying to send the values in temporary gridview to database. Here's the cs code : protected void BtnSendToDatabase_Click(object sender, EventArgs e) { foreach (DataRow row in dt.Rows) { Console.WriteLine(row["name"].ToString()); } SqlCommand cmd = new SqlCommand(); cmd.CommandText = "INSERT INTO Table1 (Company_Name) VALUES (@compName)"; cmd.Parameters.AddWithValue("@compName", TxtName.Text); foreach (DataRow row in dt.Rows) { cmd.Parameter.AddWithValue("@compName", row["name"].ToString()); cmd.ExecuteNonQuery(); } cmd.Dispose(); conn.Close(); conn.Dispose(); } But i'm getting this error: CS1061: 'System.Data.SqlClient.SqlCommand' does not contain a definition for 'Parameter' and no extension method 'Parameter' accepting a first argument of type 'System.Data.SqlClient.SqlCommand' could be found (are you missing a using directive or an assembly reference) Source error: cmd.Parameter.AddWithValue("@compName", row["name"].ToString()); I tried to use command instead of cmd,but it still gives error. Any ideas This post has been edited by eclipsed4utoo: 17 September 2010 - 04:40 AM Reason for edit:: please use the code tags... [code] your code here [/code]
VIEWS ON THIS POST

252

Posted on:

Tuesday 27th November 2012
View Replies!

Tally Integration

hi, I want to acess the data of tally 9.0 to create some other web application using ASP.NET.
VIEWS ON THIS POST

130

Posted on:

Tuesday 27th November 2012
View Replies!

DDL not retaining selecteditem

Below you will find the offending code. The TableRow snippet is contained within a InsertItemTemplate section of a FormView object. Problem: When i click the cboINSColor1 dropdownlist (DDL) control, it performs the postback event but also reloads the datasource into the control. In effect, clearing the SelectedItem field and setting back to the 0 index. This problem only occurs on the DDL i manually databind to a source. The other controls that i have a DataSource object (SqlDataSource) attached to them, they operate like they are supposed to. The one thing i do not have is a DataBound event method but the times i used it, it didnt change the operational problem i am having. ...alot of other useless code ... Protected Sub cboINSColor1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) With frmProductionData If Not (CType(.FindControl("cboINSColor1"), DropDownList).SelectedItem Is "Select a Color:") Then CType(.FindControl("trINSColor2"), HtmlTableRow).Visible = True CType(.FindControl("trINSColor1Units"), HtmlTableRow).Visible = True CType(.FindControl("trINSColor1Adjust"), HtmlTableRow).Visible = True 'Fill the Drop Down List box with the information Dim tbcolors As prodsum.colorsDataTable = Me._taColors.ActiveColorsByPID(Me._data.pid1) CType(.FindControl("cboINSColor2"), DropDownList).DataSource = tbcolors CType(.FindControl("cboINSColor2"), DropDownList).DataBind() CType(.FindControl("cboINSColor2"), DropDownList).Items.Insert(0, Me._listItem) Else .. other control hiding code... End If End With End Sub First off, i have some project scope methods that handle the repetitive action of the CType that you see but need to resolve the problem first before i use the consolidated action. lets see if we can get this resolved
VIEWS ON THIS POST

148

Posted on:

Tuesday 27th November 2012
View Replies!

jQuery FixedHeaderRow script - dynamic scroll width (parameter to jQue

$(document).ready(function() { jQuery('#').Scrollable(400, 2000); }); When column count is about 20 it looks like perfect (except: I can't see vertical scroll bar before scroll horizontal scrollbar to the right scope) But when column count is 4 I've got same 2000 width and 500pt for each column and horizontal scroll :-S that's fail. Is there some way I can control this width \t Is there some ways how can I send an Parameter to jQuery function
VIEWS ON THIS POST

149

Posted on:

Tuesday 27th November 2012
View Replies!

How to Display values in the Dataset into the HTML Table

Please anyone tell me how to dispaly the values in the dataset into the HTML Table in ASP.NET
VIEWS ON THIS POST

147

Posted on:

Tuesday 27th November 2012
View Replies!

c# class to concat two strings

Hi all, I am beginner in ASP.Net/C# and I would like to create a 'class' in C# to concatenate two textbox values to another control. Can anybody help me
VIEWS ON THIS POST

166

Posted on:

Tuesday 27th November 2012
View Replies!

dynamic gridview

I have a drop down list that fetches the data for the Products or the Order table into a dataset. This dataset gets bounded to a gridview. The data in the gridview has to be editable. I was thinking of dynamically creating itemtemplates w/ textboxes depending on the number of columns in the dataset. I've been using this link as a reference: http://msdn.microsoft.com/en-us/library/system.web.... But I can't figure out how the InstantiateIn method gets called. After stepping thru the code, the InstantiateIn method runs after the page load even. But again I don't see code that calls this method. Any help would be appreciated. This is what I have so far: CODEpublic class GridViewTemplate : ITemplate { private DataControlRowType templateType; private string columnName; public GridViewTemplate(DataControlRowType type, string colName) { templateType = type; columnName = colName; } public void InstantiateIn(System.Web.UI.Control container) { switch (templateType) { case DataControlRowType.Header: Literal lc = new Literal(); lc.Text = columnName; container.Controls.Add(lc); break; case DataControlRowType.DataRow: TextBox txtMapping = new TextBox(); txtMapping.DataBinding += new EventHandler(this.Mapping_DataBinding); container.Controls.Add(txtMapping); break; default: break; } } private void Mapping_DataBinding(Object sender, EventArgs e) { TextBox t = (TextBox)sender; GridViewRow row = (GridViewRow)t.NamingContainer; t.Text = DataBinder.Eval(row.DataItem, columnName).ToString(); } } public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { LoadGridView(); } } private void LoadGridView() { Database SqlDb = DatabaseFactory.CreateDatabase(); DataSet dsMappingTable = SqlDb.ExecuteDataSet(CommandType.Text, "SELECT * FROM " + ddlMappingTable.Items[ddlMappingTable.SelectedIndex].Value.ToString()); gvMappingTable.DataSource = dsMappingTable.Tables[0]; gvMappingTable.DataBind(); for (int i = 1; i < dsMappingTable.Tables[0].Columns.Count; i++) { TemplateField tf = new TemplateField(); tf.ItemTemplate = new GridViewTemplate(DataControlRowType.DataRow, dsMappingTable.Tables[0].Columns[0].ColumnName); tf.HeaderTemplate = new GridViewTemplate(DataControlRowType.Header, dsMappingTable.Tables[0].Columns[0].ColumnName); gvMappingTable.Columns.Add(tf); } } protected void ddlMappingTable_SelectedIndexChanged(object sender, EventArgs e) { LoadGridView(); } }
VIEWS ON THIS POST

182

Posted on:

Tuesday 27th November 2012
View Replies!

Get Output of Stored Procedure

I am trying to get output of my Stored Procedure. When I check the stored procedure in SQL it returns 8, but I get 0 in my VB.NET function. Confused...my stored procedureCODECREATE PROCEDURE spCofC_GetRecordCount(\t\t@JobNum int,\t\t@TotalCount int OUTPUT)AS\t\tDECLARE @Count1 int\t\tSELECT @Count1 = COUNT(anCofC)\t\tFROM tblShipping_CofC\t\tWHERE CertNumber = @JobNum\t\tDECLARE @Count2 int\t\tSELECT @Count2 = COUNT(anInvTrack)\t\tFROM tblShipping_InvTrack\t\tWHERE woNum = @JobNum\t\tDECLARE @Count3 int\t\tSELECT @Count3 = COUNT(anMaterial)\t\tFROM tblShipping_MaterialSup\t\tWHERE woNum = @JobNum\t\tDECLARE @Count4 int\t\tSELECT @Count4 = COUNT(anProcessSup)\t\tFROM tblShipping_ProcessSup\t\tWHERE woNum = @JobNum\t\tDECLARE @Count5 int\t\tSELECT @Count5 = COUNT(anMaterialHeatLots)\t\tFROM tblShipping_MaterialHeatLots\t\tWHERE woNum = @JobNum\t\tDECLARE @Count6 int\t\tSELECT @Count6 = COUNT(anProcess)\t\tFROM tblShipping_ProcessItem\t\tWHERE woNum = @JobNum\t\t\t\tSELECT @TotalCount = (@Count1 + @Count2 + @Count3 + @Count4 + @Count5 + @Count6)\t\tRETURN @TotalCountGOmy functionCODE\t\tPublic Function GetRecordCount(ByVal iJob As Integer) As Integer\t\t\t\tDim myConn As New SqlClient.SqlConnection\t\t\t\tDim myComm As New SqlClient.SqlCommand\t\t\t\tmyConn.ConnectionString = sConn\t\t\t\tmyComm.Connection = myConn\t\t\t\tmyComm.CommandType = CommandType.StoredProcedure\t\t\t\tmyComm.CommandText = "dbo.[spCofC_GetRecordCount]"\t\t\t\tDim parmJob As New SqlClient.SqlParameter("@JobNum", SqlDbType.Int)\t\t\t\tDim parmTotal As New SqlClient.SqlParameter("@TotalCount", SqlDbType.Int)\t\t\t\tparmJob.Value = iJob\t\t\t\tparmTotal.Direction = ParameterDirection.Output\t\t\t\tmyComm.Parameters.Add(parmTotal)\t\t\t\tmyComm.Parameters.Add(parmJob)\t\t\t\tTry\t\t\t\t\t\tWith myComm\t\t\t\t\t\t\t\t.Connection.Open()\t\t\t\t\t\t\t\tDim i As Integer = .ExecuteScalar\t\t\t\t\t\t\t\t.Connection.Close()\t\t\t\t\t\t\t\tReturn i\t\t\t\t\t\tEnd With\t\t\t\tCatch ex As Exception\t\t\t\t\t\tReturn -1\t\t\t\tEnd Try\t\tEnd FunctionCan anybody tell me what I have done wrong. This is my first time to try and use an OUTPUT in a Stored Procedure. CharlesQuality Assurance/Developer
VIEWS ON THIS POST

99

Posted on:

Tuesday 27th November 2012
View Replies!

UserControl drawing / funciotn issues

I have a menu that is set up as a user control. The buttons on the control all work, so the code behind is being called.Now for ease of use, I wish to change the enabled / disabled status of some of the buttons depending on who is logged on / off. But the code (placed in the control constructor function) is not executing (I have placed a breakpointon it and it is never called).If I put the code on a page, and use it I can toggle a buttons enabled state, so I know that the code works, its just accessing it through the control.So I assume that there is a method I need to add to my control that is called whenever it is drawn, as if I need to add in code in each page that uses the menu, then I lose the benefits of having a user control.if it was C++ It would be something like the OnDraw() function, but that doesnt work in Vis Studio. Any advice / help greatfully receivedK
VIEWS ON THIS POST

136

Posted on:

Tuesday 27th November 2012
View Replies!

Which Control caused PostBack?

I have a dropdown list and button that cause postback, each with events that are getting fired correctly after Page_Load. How can I determine which control caused the postback in OnInit()
VIEWS ON THIS POST

142

Posted on:

Tuesday 27th November 2012
View Replies!

ASP.NET

\tI am trying to get the value of tag. Here is my example.I haveTest1Test2I want to get this value using ASP.Net. I am using Request.Form("select1"), Getting only the value but not text. Any inputs
VIEWS ON THIS POST

111

Posted on:

Tuesday 27th November 2012
View Replies!

Altering an A tag within a string...

Merry Christmas all!What I want to be able to do is to take a string of HTML and check if there are any 'A' (link) tags that do not have a 'class' attribute and if there are, then add the class attribute to any of the 'A' tags that are lacking one. So, if I had:This is some text and here is a link and here is another linkI'd like to end up with:This is some text and here is a link and here is another linkI'm completely stumped as to how I would achieve this.
VIEWS ON THIS POST

201

Posted on:

Tuesday 27th November 2012
View Replies!

VS Data formatting in textboxes

In Visual Studio, is it possible to format data in textboxes For example, how could a currency value of 50 be displayed as 50.00
VIEWS ON THIS POST

151

Posted on:

Tuesday 27th November 2012
View Replies!

Spell Checking

Does anyone know of a good way to do spell checking in an ASP.Net application\tI am using a form to send an email and I would like the option to check spelling before sending the email.
VIEWS ON THIS POST

114

Posted on:

Wednesday 28th November 2012
View Replies!

[ASP.NET]: howto read client devices (like usb pendrive) via web?

Hi all!I must to read and write from/to a specified usb pendrive insert into my client pc via web.I'm trying to open a web page, list all client dviers (C:\,D:\ ... ), click on a driver, and if is an removable device write a txt file or (reverse operation) read a txt !I've tried some code about drivers listing, but this reads only local (so if I run the page from my iis serve, I view server drivers not my local ones).Any solution or ideaMany thanks for all posts, and sorry for my english the bestFrancesco Cabigliera - Italy Francesco Cabigliera "Tadan"----------------------------Italiano Amateur Radio Station----------- IW3IDS ---------On Echolink - APRS Active
VIEWS ON THIS POST

225

Posted on:

Friday 28th December 2012
View Replies!

disable page

How to disable page(make it gray) while loading data on to it I'm using ajax updatepanel.
VIEWS ON THIS POST

201

Posted on:

Friday 28th December 2012
View Replies!

Programmatically show/hide a table row

Hi allI am developing an application in vb.net that allows a user to select a number of items via checkboxes, dropdown lists etc.The results page needs to show the items selected by the user and the value for that selection in a table.I can get all the items to show and if selected their value, but i need to be able to hide the name of the item selected and its value if it is not selected by the user.Could someone please advise me how to do this
VIEWS ON THIS POST

193

Posted on:

Tuesday 1st January 2013
View Replies!

Update web page when email arrives

I've been asked to write an aspx page that will automatically get updated everytime a specific email arrives through Outlook. The email is a notification that one of our vendors system is down. Management wants the web page to display an alert notice to our users letting them know that the system is down. My suggestion was to put a rule in Outlook that just forwards the email on to the users, but that wasn't good enough. Is it possible to update the web page (or make a database entry) whenever the email arrives If so, how would I go about getting this done mwa
VIEWS ON THIS POST

120

Posted on:

Tuesday 1st January 2013
View Replies!

Using GetFiles

While using GetFiles, how can I access just the file name (I currently get the whole path) and the file type, size,...
VIEWS ON THIS POST

84

Posted on:

Tuesday 1st January 2013
View Replies!

Passing Variable From .aspx To .htm(FrameSet)

Hi to all,I have a .aspx page and with a linkButton I have:Dim LblKey As StringLblKey = txt1.TextResponse.Redirect("frameset.htmKey=" + Server.UrlEncode(LblKey))In the frameset.htm I have:How can I pass the (LblKey) to the frameset in the menu.aspxAny Idea
VIEWS ON THIS POST

177

Posted on:

Tuesday 1st January 2013
View Replies!

DataList formatting question

I have a DataList that generates two columns:CODEThe output looks like this:Alaska\t[checkbox]\t\tKentucky [checkbox]Arizona\t[checkbox]\t\tMaine\t\t[checkbox]Arkansas [checkbox]\t\tMichigan [checkbox]......\t\t\t\t\t\t\t\t.......Each of the two columns need to have its own heading:State\tActive\t\t\t\tState ActiveAny ideas
VIEWS ON THIS POST

127

Posted on:

Tuesday 1st January 2013
View Replies!

Help me find the logical error?

I know I'm missing some elemental here.\tI have a repeater with two labels that are databound.\tOn itemdatabound, I want to get those values so I can create other controls, but I'm not getting a value at all, even though I see it right there on the screen plain as day.\tI'm not getting any error messages, so I'm pretty sure it's a logical error.Here's the code:CODEstring ButtonNumTxt = String.Empty;string ButtonDesTxt = String.Empty;Label ButtonDes = e.Item.FindControl("ButtonDesignationLbl") as Label;Label ButtonNum = e.Item.FindControl("ButtonNumLbl") as Label;ButtonNumTxt = ButtonNum.Text;ButtonDesTxt = ButtonDes.Text;Trace.Write("ButtonNumTxt is " + ButtonNumTxt + " and ButtonDesTxt is " + ButtonDesTxt);The trace statement doesn't give any more info than what you see here.\tCan anyone (or :) ) see what's wrongthanks!tigerjade "Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live." --\tMartin Golding
VIEWS ON THIS POST

165

Posted on:

Tuesday 1st January 2013
View Replies!

Controls on WebUserControls

Newbie here so feel free to laugh ...I created a webusercontrol based on a GridView, so I now have a 'myGridView' WebUserControl.Go to a new webform, add the control, and voila .. I now have my modified GV.But ... no smarttag option to set datasource or autoformat etc.There is an option to 'Edit User Control' but that changes the source file .. and to be honest that scared me, is it possible to block that option I don't want my source file being altered by error !So have I missed something realy obvious, or am\tjust barking up the wrong tree altogether Can I create a WUC giving all the normal functionality of a GridView, that can be used multiple times within a page as seperate instances with seperate datasources Many
VIEWS ON THIS POST

120

Posted on:

Tuesday 1st January 2013
View Replies!

Authentication and Authorization?

I am using ASP .NET(version 1.1).\tMy http authentication module is called for every webpage that is under may project even though I specified in my web.config to only authentication for a specify directory\tAm I missing somethings or is my web.config done wrong for what I am trying to accomplishCODE\t\t\t\t\t \t\t\t\t\t\t \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tMy default is to allow anybody access.\tThe location part of the web.config should have override the default no authentication for the directory "test" to use my http module.\tBut my http module is called for every webpage under my project.\tAm I doing something wrong or am I suppose to do something in the http module to check for the location
VIEWS ON THIS POST

73

Posted on:

Wednesday 2nd January 2013
View Replies!

Opening another web application

I would like to know what is the correct procedure for opening a web application created by another user.For example i paste a folder in my wwwroot that contains all the relevant files (aspx,vbproj etc.). If this is the correct 1st step, is there anything else to be done before using VS.NET to open this web application Do i have to create anything in IIS
VIEWS ON THIS POST

147

Posted on:

Wednesday 2nd January 2013
View Replies!

merchant services

I want to user merchant service like PayPal. I want to know how you can integrate the actual payment facility into your own web page If you have the user has to go to there secure page then how do you link back to your pageI want to be able for the user to select a product pay for it and then if the payment has gone through sucessfully I want to then send a email to the dispatcher straight after.Does anyone have a service they used to do similar\t
VIEWS ON THIS POST

116

Posted on:

Wednesday 2nd January 2013
View Replies!