Click here to Skip to main content
15,887,302 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: how to develpoe website with irrespetive of resolution? Pin
Johnny ²21-Oct-08 6:08
Johnny ²21-Oct-08 6:08 
QuestionSession Timeout Pin
sirisha guttikonda20-Oct-08 21:05
sirisha guttikonda20-Oct-08 21:05 
AnswerRe: Session Timeout Pin
Paddy Boyd21-Oct-08 2:25
Paddy Boyd21-Oct-08 2:25 
AnswerRe: Session Timeout Pin
Rajesh Kumar Chekuri26-Oct-08 22:08
Rajesh Kumar Chekuri26-Oct-08 22:08 
Questionweb services with no ASMX or WSDL Pin
tryingtofindanamethatsnotused20-Oct-08 16:59
tryingtofindanamethatsnotused20-Oct-08 16:59 
QuestionUsing javascript to set the backgroundColor of a gridview row cell's textbox. Pin
Steve Holdorf20-Oct-08 11:39
Steve Holdorf20-Oct-08 11:39 
AnswerRe: Using javascript to set the backgroundColor of a gridview row cell's textbox. Pin
Steve Holdorf21-Oct-08 3:28
Steve Holdorf21-Oct-08 3:28 
Questionhow to change a value of a variable defining in code behind via Java Script Pin
dhumplopoka20-Oct-08 4:55
dhumplopoka20-Oct-08 4:55 
I need to change the value declare in aspx.vb via javascript my code is like this

//// My Custom Image Class /////
Public Class imageClass Inherits System.Web.UI.WebControls.Image

Public imageLabel As String = ""

End Class

/////// Default.aspx.vb ////////

Protected Overrides Sub OnInit(ByVal e As EventArgs)

Dim picture As imageClass = New imageClass

pholder.Controls.Add(picture)
/// THIS SHOULD CHANGE VIA JAVASCRIPT///
picture.imageLabel = "LabelOne"

picture.Attributes.Add("onclick","javascript:click 1('" & picture.ClientID & "')")

End Sub

Protected Sub Submit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Submit.Click

Dim NewImage As imageClass = New imageClass
For Each con As Control In pholder.Controls
If TypeOf con Is imageClass Then
/// SHOW OLD VALUE DECLARE IN ASPX.VB ///
MsgBox(CType(con, imageClass).imageLabel)
end if
Next

End Sub

/////// Default.aspx ////////

<script type="text/javascript" >

function click1(id1){document.getElementById(id1).setAttrib ute("imageLabel","Click");}

</script>

<html>
<body>
<form id="form1" runat="server">

<asp : PlaceHolder ID="pholder" runat="server" ></asp : PlaceHolder>

<asp : Button ID="Submit" Text="Submit" runat="server" />
</form>
</body>
</html>


thanks in advance
QuestionWebservice with SQL DB Pin
Hakmeh Mohannad20-Oct-08 1:48
Hakmeh Mohannad20-Oct-08 1:48 
QuestionHow to include Style Sheets in ASP program Pin
jainvidhya8419-Oct-08 22:56
jainvidhya8419-Oct-08 22:56 
AnswerRe: How to include Style Sheets in ASP program Pin
Paddy Boyd20-Oct-08 0:54
Paddy Boyd20-Oct-08 0:54 
AnswerRe: How to include Style Sheets in ASP program Pin
Sachin Pimpale20-Oct-08 2:49
Sachin Pimpale20-Oct-08 2:49 
QuestionVBScript Image Resizing [modified] Pin
Reelix19-Oct-08 22:53
Reelix19-Oct-08 22:53 
AnswerRe: VBScript Image Resizing Pin
Guffa22-Oct-08 3:09
Guffa22-Oct-08 3:09 
GeneralRe: VBScript Image Resizing Pin
Reelix22-Oct-08 3:40
Reelix22-Oct-08 3:40 
Questionpartially disabling browser functionality... Pin
kabir39318-Oct-08 20:49
kabir39318-Oct-08 20:49 
AnswerRe: partially disabling browser functionality... Pin
Shog919-Oct-08 4:59
sitebuilderShog919-Oct-08 4:59 
AnswerRe: partially disabling browser functionality... Pin
Vengatachalapathy Palanivel20-Oct-08 21:12
Vengatachalapathy Palanivel20-Oct-08 21:12 
QuestionDistance between 2 addresses Pin
AghaKhan18-Oct-08 18:55
AghaKhan18-Oct-08 18:55 
AnswerRe: Distance between 2 addresses Pin
Mohammad Dayyan18-Oct-08 22:21
Mohammad Dayyan18-Oct-08 22:21 
GeneralRe: Distance between 2 addresses Pin
AghaKhan18-Oct-08 22:46
AghaKhan18-Oct-08 22:46 
QuestionTabcontainer: ".aspx" page for each tab (like ie or firefox), is this impossible? - (moved) [modified] Pin
BlackDice18-Oct-08 8:01
BlackDice18-Oct-08 8:01 
GeneralRe: Tabcontainer: ".aspx" page for each tab (like ie or firefox), is this impossible? Pin
Shog918-Oct-08 8:07
sitebuilderShog918-Oct-08 8:07 
GeneralRe: Tabcontainer: ".aspx" page for each tab (like ie or firefox), is this impossible? Pin
BlackDice18-Oct-08 8:10
BlackDice18-Oct-08 8:10 
QuestionHelp on use of master page Pin
S.Aijaz17-Oct-08 21:25
S.Aijaz17-Oct-08 21:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.