Click here to Skip to main content
15,918,889 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to contorol the file sharering using ASP.Net/C# ...? Pin
Mtyb29-Jun-09 8:59
Mtyb29-Jun-09 8:59 
AnswerRe: How to contorol the file sharering using ASP.Net/C# ...? Pin
Christian Graus29-Jun-09 10:17
protectorChristian Graus29-Jun-09 10:17 
QuestionDetect Installed DotNet From Web Page? Pin
#realJSOP29-Jun-09 8:21
professional#realJSOP29-Jun-09 8:21 
AnswerRe: Detect Installed DotNet From Web Page? Pin
Blue_Boy29-Jun-09 8:27
Blue_Boy29-Jun-09 8:27 
QuestionTCP/UDP Raw commands Pin
tiran_kaskas29-Jun-09 5:48
tiran_kaskas29-Jun-09 5:48 
QuestionVisual Studio 2008 with Crystal Reports 2008 Pin
Battlehammer29-Jun-09 4:33
Battlehammer29-Jun-09 4:33 
AnswerRe: Visual Studio 2008 with Crystal Reports 2008 Pin
Battlehammer8-Jul-09 7:10
Battlehammer8-Jul-09 7:10 
QuestionProblem when loading an aspx page from ascx Pin
tiran_kaskas29-Jun-09 3:05
tiran_kaskas29-Jun-09 3:05 
Dear colleges,
I have run into the following situation:
webpage1.aspx is using UC1.ascx.
UC1.ascx has a button which as a result will redirect to webPage2.aspx

webPage2.aspx uses UC2.ascx. Within UC2.ascx I have a button (Send).
It seems like pressing the button leads to re-launching webPage2 (it's Page_Load method is being called with IsPostBack set to false).

The problem is that re-launching the page will result in a brand new UC2 instance, which will wipe out all information previously stored in it prior to selecting the Send button.


This is the code in webPage2.aspx.cs:
<br />
namespace conversion<br />
{<br />
    public partial class SocketConnectionListPage : System.Web.UI.Page<br />
    {<br />
        protected void Page_Load(object sender, EventArgs e)<br />
        {<br />
            if (!IsPostBack)<br />
            {<br />
                string[] parameters = new string[2];<br />
                parameters[0] = Request.Params["protocol"];<br />
                parameters[1] = Request.Params["port"];<br />
<br />
                SocketConnectionList myAscx = (SocketConnectionList)FindControl("SocketConnectionList1");<br />
                myAscx.SetSocketProperties(parameters);<br />
            }<br />
        }<br />
    }<br />
}<br />

AnswerRe: Problem when loading an aspx page from ascx Pin
DoctorMick29-Jun-09 3:13
DoctorMick29-Jun-09 3:13 
AnswerRe: Problem when loading an aspx page from ascx Pin
Muhammad Gouda29-Jun-09 3:23
Muhammad Gouda29-Jun-09 3:23 
GeneralRe: Problem when loading an aspx page from ascx Pin
tiran_kaskas29-Jun-09 3:26
tiran_kaskas29-Jun-09 3:26 
GeneralRe: Problem when loading an aspx page from ascx Pin
tiran_kaskas29-Jun-09 3:41
tiran_kaskas29-Jun-09 3:41 
QuestionRe: Problem when loading an aspx page from ascx Pin
Muhammad Gouda29-Jun-09 4:13
Muhammad Gouda29-Jun-09 4:13 
AnswerRe: Problem when loading an aspx page from ascx Pin
tiran_kaskas29-Jun-09 4:27
tiran_kaskas29-Jun-09 4:27 
GeneralRe: Problem when loading an aspx page from ascx Pin
tiran_kaskas29-Jun-09 5:03
tiran_kaskas29-Jun-09 5:03 
GeneralRe: Problem when loading an aspx page from ascx Pin
DoctorMick29-Jun-09 5:24
DoctorMick29-Jun-09 5:24 
GeneralRe: Problem when loading an aspx page from ascx Pin
tiran_kaskas29-Jun-09 5:27
tiran_kaskas29-Jun-09 5:27 
GeneralRe: Problem when loading an aspx page from ascx Pin
Muhammad Gouda29-Jun-09 20:46
Muhammad Gouda29-Jun-09 20:46 
QuestionQuerying carriage return fields Pin
eyeseetee29-Jun-09 2:57
eyeseetee29-Jun-09 2:57 
AnswerRe: Querying carriage return fields Pin
Niladri_Biswas29-Jun-09 6:08
Niladri_Biswas29-Jun-09 6:08 
Questionautomating microsoft word file using vb.net Pin
trimandir prajapati29-Jun-09 1:27
trimandir prajapati29-Jun-09 1:27 
AnswerRe: automating microsoft word file using vb.net Pin
Manas Bhardwaj29-Jun-09 1:37
professionalManas Bhardwaj29-Jun-09 1:37 
QuestionUsing SQL Search in c# page - problem with fields with ' ' in them Pin
eyeseetee29-Jun-09 1:21
eyeseetee29-Jun-09 1:21 
AnswerRe: Using SQL Search in c# page - problem with fields with ' ' in them Pin
SeMartens29-Jun-09 1:55
SeMartens29-Jun-09 1:55 
AnswerRe: Using SQL Search in c# page - problem with fields with ' ' in them Pin
DoctorMick29-Jun-09 2:02
DoctorMick29-Jun-09 2:02 

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.