0

hello
im a beginner in web programming
and i faced a problem

i defined a button in a certain page say contact.aspx
when i choose button_click event it appears in Default.aspx.cs
which is not correct coz i lost my control to the page contact.aspx

waiting for ur answers .. thanks

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by dima shawahneh
0

Pls. check your HTML Source page in contact.aspx and defaulf.aspx
Codebehind="contact.aspx.vb" ???

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="frmAnnouncmentsAndMemos.aspx.vb" Inherits="HR_Common.frmAnnouncmentsAndMemos"%>

Mark as solved, if it helps you!!!

0

as i expected .. too simple but i wasn't able to discover this

<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

now i know it .. :)
thanks 4 ur help

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.