473,378 Members | 1,134 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

asp.net 2.0 beta 2 problems

1)
There was announced that the default providers for membership, profile, etc
in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
AccessProvider will be discontinued.

I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
AccessProvider is still alive and the problem it's that I cannot make work
the SQL provider with an SQL database, the AccessDatabase is automatically
created and associated as with the providers.

2)
What happened with the ImageField of the GridView in asp.net 2.0 Beta 2.
In beta 1 you can bound an image field to a database, but now the property
DataField of this tag is not more available.

3) In a page that has a Maste defining some placeholders...
You cannot reference a control from one content from another?
For example a sqldatasource in one and a gridView in another.
Or a combo in one, and a sqldatasource controldependency which this control
in the other.

Anyone knows something about any of these issues?

Thanks in advance for any suggestions
Nov 19 '05 #1
13 1584
re:
SQL provider
See http://beta.asp.net/guidedtour2/s27.aspx

You have to run the ASP.NET SQL Server Setup Wizard
(aspnet_regsql.exe) and *then* use WSAT to setup
the SQL Server Provider.

Look for aspnet_regsql.exe in the .Net Framework directory.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com... 1)
There was announced that the default providers for membership, profile, etc
in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
AccessProvider will be discontinued.

I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
AccessProvider is still alive and the problem it's that I cannot make work
the SQL provider with an SQL database, the AccessDatabase is automatically
created and associated as with the providers.

Nov 19 '05 #2
> 1)
There was announced that the default providers for membership,
profile, etc
in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider,
and that
AccessProvider will be discontinued.
I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
AccessProvider is still alive and the problem it's that I cannot make
work the SQL provider with an SQL database, the AccessDatabase is
automatically created and associated as with the providers.


The code for the AccessProvider will be made available at some point as a
sample but not supported by Microsoft.

-Brock
DevelopMentor
http://staff.develop.com/ballen


Nov 19 '05 #3
Thanks for taking the time to answer.

I already used the aspnet_regsql command, and I have the sql database
created and running.
The problem is that asp.net continues to persist the info using an
AccessDataBase, but the WSAT shows the SQLProvider as the configured
provider, and a programmatic query to the Membership.Provider.Name shows
"AspNetSqlMembershipProvider".

Any other suggestion?
Any idea of the other two items?
Nov 19 '05 #4
Hi Juan,

I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
started developing this page usign beta1. In beta 1 I have written some code
in Page_LoadComplete(object sender, EventArgs e) events of page. It was
working fine. But after I installed beta 2.0 Page_LoadComplete events is not
firing at all. Can u guide me how can I achieve this goal?

Thankx in advance.
Shailesh.

"Juan T. Llibre" wrote:
re:
SQL provider


See http://beta.asp.net/guidedtour2/s27.aspx

You have to run the ASP.NET SQL Server Setup Wizard
(aspnet_regsql.exe) and *then* use WSAT to setup
the SQL Server Provider.

Look for aspnet_regsql.exe in the .Net Framework directory.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
1)
There was announced that the default providers for membership, profile, etc
in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
AccessProvider will be discontinued.

I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
AccessProvider is still alive and the problem it's that I cannot make work
the SQL provider with an SQL database, the AccessDatabase is automatically
created and associated as with the providers.


Nov 19 '05 #5
Hi, Shailesh.

The System.Web.UI.Page.LoadComplete
event *is* supported in ASP.NET 2.0.

You are using VB.Net, so the declaration looks like this :

Public Event LoadComplete As EventHandler

The instantiation looks like this :

WithEvents page1 As Page

Function page1_LoadComplete(sender As Object, _
e As EventArgs) As Void

Handles page1.LoadComplete
End Function

For further info, check out :
http://msdn2.microsoft.com/library/b...us,vs.80).aspx
http://msdn2.microsoft.com/library/2...us,vs.80).aspx
http://msdn2.microsoft.com/library/2...us,vs.80).aspx

Lastly, take a look at :
http://msdn2.microsoft.com/library/3...us,vs.80).aspx
for info on the Page.OnLoadComplete Method


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:4C**********************************@microsof t.com...
Hi Juan,

I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
started developing this page usign beta1. In beta 1 I have written some code
in Page_LoadComplete(object sender, EventArgs e) events of page. It was
working fine. But after I installed beta 2.0 Page_LoadComplete events is not
firing at all. Can u guide me how can I achieve this goal?

Thankx in advance.
Shailesh.

"Juan T. Llibre" wrote:
re:
> SQL provider


See http://beta.asp.net/guidedtour2/s27.aspx

You have to run the ASP.NET SQL Server Setup Wizard
(aspnet_regsql.exe) and *then* use WSAT to setup
the SQL Server Provider.

Look for aspnet_regsql.exe in the .Net Framework directory.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
> 1)
> There was announced that the default providers for membership, profile, etc
> in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
> AccessProvider will be discontinued.
>
> I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
> AccessProvider is still alive and the problem it's that I cannot make work
> the SQL provider with an SQL database, the AccessDatabase is automatically
> created and associated as with the providers.


Nov 19 '05 #6
Juan,

thnx for ur kind reply.
I am not using vb.net, I am using c#.net. So can u tell me how to use this
code in c#.

"Juan T. Llibre" wrote:
Hi, Shailesh.

The System.Web.UI.Page.LoadComplete
event *is* supported in ASP.NET 2.0.

You are using VB.Net, so the declaration looks like this :

Public Event LoadComplete As EventHandler

The instantiation looks like this :

WithEvents page1 As Page

Function page1_LoadComplete(sender As Object, _
e As EventArgs) As Void

Handles page1.LoadComplete
End Function

For further info, check out :
http://msdn2.microsoft.com/library/b...us,vs.80).aspx
http://msdn2.microsoft.com/library/2...us,vs.80).aspx
http://msdn2.microsoft.com/library/2...us,vs.80).aspx

Lastly, take a look at :
http://msdn2.microsoft.com/library/3...us,vs.80).aspx
for info on the Page.OnLoadComplete Method


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:4C**********************************@microsof t.com...
Hi Juan,

I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
started developing this page usign beta1. In beta 1 I have written some code
in Page_LoadComplete(object sender, EventArgs e) events of page. It was
working fine. But after I installed beta 2.0 Page_LoadComplete events is not
firing at all. Can u guide me how can I achieve this goal?

Thankx in advance.
Shailesh.

"Juan T. Llibre" wrote:
re:
> SQL provider

See http://beta.asp.net/guidedtour2/s27.aspx

You have to run the ASP.NET SQL Server Setup Wizard
(aspnet_regsql.exe) and *then* use WSAT to setup
the SQL Server Provider.

Look for aspnet_regsql.exe in the .Net Framework directory.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
news:E0**********************************@microsof t.com...
> 1)
> There was announced that the default providers for membership, profile, etc
> in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
> AccessProvider will be discontinued.
>
> I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
> AccessProvider is still alive and the problem it's that I cannot make work
> the SQL provider with an SQL database, the AccessDatabase is automatically
> created and associated as with the providers.


Nov 19 '05 #7
re:
So can u tell me how to use this code in c#.
Did u go to the links provided ?

There's C# usage examples in them.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com... Juan,

thnx for ur kind reply.
I am not using vb.net, I am using c#.net. So can u tell me how to use this
code in c#. "Juan T. Llibre" wrote:
Hi, Shailesh.

The System.Web.UI.Page.LoadComplete
event *is* supported in ASP.NET 2.0.

You are using VB.Net, so the declaration looks like this :

Public Event LoadComplete As EventHandler

The instantiation looks like this :

WithEvents page1 As Page

Function page1_LoadComplete(sender As Object, _
e As EventArgs) As Void

Handles page1.LoadComplete
End Function

For further info, check out :
http://msdn2.microsoft.com/library/b...us,vs.80).aspx
http://msdn2.microsoft.com/library/2...us,vs.80).aspx
http://msdn2.microsoft.com/library/2...us,vs.80).aspx

Lastly, take a look at :
http://msdn2.microsoft.com/library/3...us,vs.80).aspx
for info on the Page.OnLoadComplete Method


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:4C**********************************@microsof t.com...
> Hi Juan,
>
> I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
> started developing this page usign beta1. In beta 1 I have written some code
> in Page_LoadComplete(object sender, EventArgs e) events of page. It was
> working fine. But after I installed beta 2.0 Page_LoadComplete events is not
> firing at all. Can u guide me how can I achieve this goal?
>
> Thankx in advance.
> Shailesh.
>
> "Juan T. Llibre" wrote:
>
>> re:
>> > SQL provider
>>
>> See http://beta.asp.net/guidedtour2/s27.aspx
>>
>> You have to run the ASP.NET SQL Server Setup Wizard
>> (aspnet_regsql.exe) and *then* use WSAT to setup
>> the SQL Server Provider.
>>
>> Look for aspnet_regsql.exe in the .Net Framework directory.
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
>> news:E0**********************************@microsof t.com...
>> > 1)
>> > There was announced that the default providers for membership, profile, etc
>> > in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
>> > AccessProvider will be discontinued.
>> >
>> > I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
>> > AccessProvider is still alive and the problem it's that I cannot make work
>> > the SQL provider with an SQL database, the AccessDatabase is automatically
>> > created and associated as with the providers.
>>
>>
>>


Nov 19 '05 #8
Hi Juan,

I gone through the link provided by youl.
But I found only 'public event EventHandler LoadComplete;' part of code
there. I am not able to find event usage code.

It would be great if u can provide me the c# code.

Thankx
Shailesh.

"Juan T. Llibre" wrote:
re:
So can u tell me how to use this code in c#.


Did u go to the links provided ?

There's C# usage examples in them.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com...
Juan,

thnx for ur kind reply.
I am not using vb.net, I am using c#.net. So can u tell me how to use this
code in c#.

"Juan T. Llibre" wrote:
Hi, Shailesh.

The System.Web.UI.Page.LoadComplete
event *is* supported in ASP.NET 2.0.

You are using VB.Net, so the declaration looks like this :

Public Event LoadComplete As EventHandler

The instantiation looks like this :

WithEvents page1 As Page

Function page1_LoadComplete(sender As Object, _
e As EventArgs) As Void

Handles page1.LoadComplete
End Function

For further info, check out :
http://msdn2.microsoft.com/library/b...us,vs.80).aspx
http://msdn2.microsoft.com/library/2...us,vs.80).aspx
http://msdn2.microsoft.com/library/2...us,vs.80).aspx

Lastly, take a look at :
http://msdn2.microsoft.com/library/3...us,vs.80).aspx
for info on the Page.OnLoadComplete Method


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:4C**********************************@microsof t.com...
> Hi Juan,
>
> I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
> started developing this page usign beta1. In beta 1 I have written some code
> in Page_LoadComplete(object sender, EventArgs e) events of page. It was
> working fine. But after I installed beta 2.0 Page_LoadComplete events is not
> firing at all. Can u guide me how can I achieve this goal?
>
> Thankx in advance.
> Shailesh.
>
> "Juan T. Llibre" wrote:
>
>> re:
>> > SQL provider
>>
>> See http://beta.asp.net/guidedtour2/s27.aspx
>>
>> You have to run the ASP.NET SQL Server Setup Wizard
>> (aspnet_regsql.exe) and *then* use WSAT to setup
>> the SQL Server Provider.
>>
>> Look for aspnet_regsql.exe in the .Net Framework directory.
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
>> news:E0**********************************@microsof t.com...
>> > 1)
>> > There was announced that the default providers for membership, profile, etc
>> > in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
>> > AccessProvider will be discontinued.
>> >
>> > I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
>> > AccessProvider is still alive and the problem it's that I cannot make work
>> > the SQL provider with an SQL database, the AccessDatabase is automatically
>> > created and associated as with the providers.
>>
>>
>>


Nov 19 '05 #9
public event EventHandler LoadComplete;

Page page1;

void page1_LoadComplete(object sender, EventArgs e)
{
//your code here...
}

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:DB**********************************@microsof t.com...
Hi Juan,

I gone through the link provided by youl.
But I found only 'public event EventHandler LoadComplete;' part of code
there. I am not able to find event usage code.

It would be great if u can provide me the c# code.

Thankx
Shailesh.

"Juan T. Llibre" wrote:
re:
> So can u tell me how to use this code in c#.


Did u go to the links provided ?

There's C# usage examples in them.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com...
> Juan,
>
> thnx for ur kind reply.
> I am not using vb.net, I am using c#.net. So can u tell me how to use this
> code in c#.

> "Juan T. Llibre" wrote:
>
>> Hi, Shailesh.
>>
>> The System.Web.UI.Page.LoadComplete
>> event *is* supported in ASP.NET 2.0.
>>
>> You are using VB.Net, so the declaration looks like this :
>>
>> Public Event LoadComplete As EventHandler
>>
>> The instantiation looks like this :
>>
>> WithEvents page1 As Page
>>
>> Function page1_LoadComplete(sender As Object, _
>> e As EventArgs) As Void
>>
>> Handles page1.LoadComplete
>> End Function
>>
>> For further info, check out :
>> http://msdn2.microsoft.com/library/b...us,vs.80).aspx
>> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>>
>> Lastly, take a look at :
>> http://msdn2.microsoft.com/library/3...us,vs.80).aspx
>> for info on the Page.OnLoadComplete Method
>>
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Shailesh" <Sh******@discussions.microsoft.com> wrote in message
>> news:4C**********************************@microsof t.com...
>> > Hi Juan,
>> >
>> > I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
>> > started developing this page usign beta1. In beta 1 I have written some code
>> > in Page_LoadComplete(object sender, EventArgs e) events of page. It was
>> > working fine. But after I installed beta 2.0 Page_LoadComplete events is not
>> > firing at all. Can u guide me how can I achieve this goal?
>> >
>> > Thankx in advance.
>> > Shailesh.
>> >
>> > "Juan T. Llibre" wrote:
>> >
>> >> re:
>> >> > SQL provider
>> >>
>> >> See http://beta.asp.net/guidedtour2/s27.aspx
>> >>
>> >> You have to run the ASP.NET SQL Server Setup Wizard
>> >> (aspnet_regsql.exe) and *then* use WSAT to setup
>> >> the SQL Server Provider.
>> >>
>> >> Look for aspnet_regsql.exe in the .Net Framework directory.
>> >>
>> >>
>> >>
>> >> Juan T. Llibre
>> >> ASP.NET MVP
>> >> http://asp.net.do/foros/
>> >> Foros de ASP.NET en Español
>> >> Ven, y hablemos de ASP.NET...
>> >> ======================
>> >>
>> >> "Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
>> >> news:E0**********************************@microsof t.com...
>> >> > 1)
>> >> > There was announced that the default providers for membership, profile, etc
>> >> > in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
>> >> > AccessProvider will be discontinued.
>> >> >
>> >> > I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
>> >> > AccessProvider is still alive and the problem it's that I cannot make work
>> >> > the SQL provider with an SQL database, the AccessDatabase is automatically
>> >> > created and associated as with the providers.
>> >>
>> >>
>> >>
>>
>>
>>


Nov 19 '05 #10
Juan,

I replicated the code as provided by you. But still my LoadComplete event is
not fired.

U can check following code.

public partial class FactoryOtherDetail : ComplianceWeb.CompliancePage
{
public event EventHandler LoadComplete;
Page page1;

protected void Page_Load(object sender, EventArgs e)
{
// my code here
}

protected void Page1_LoadComplete(object sender, EventArgs e)
{
// my code here
}

}

"Juan T. Llibre" wrote:
public event EventHandler LoadComplete;

Page page1;

void page1_LoadComplete(object sender, EventArgs e)
{
//your code here...
}

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:DB**********************************@microsof t.com...
Hi Juan,

I gone through the link provided by youl.
But I found only 'public event EventHandler LoadComplete;' part of code
there. I am not able to find event usage code.

It would be great if u can provide me the c# code.

Thankx
Shailesh.

"Juan T. Llibre" wrote:
re:
> So can u tell me how to use this code in c#.

Did u go to the links provided ?

There's C# usage examples in them.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com...
> Juan,
>
> thnx for ur kind reply.
> I am not using vb.net, I am using c#.net. So can u tell me how to use this
> code in c#.

> "Juan T. Llibre" wrote:
>
>> Hi, Shailesh.
>>
>> The System.Web.UI.Page.LoadComplete
>> event *is* supported in ASP.NET 2.0.
>>
>> You are using VB.Net, so the declaration looks like this :
>>
>> Public Event LoadComplete As EventHandler
>>
>> The instantiation looks like this :
>>
>> WithEvents page1 As Page
>>
>> Function page1_LoadComplete(sender As Object, _
>> e As EventArgs) As Void
>>
>> Handles page1.LoadComplete
>> End Function
>>
>> For further info, check out :
>> http://msdn2.microsoft.com/library/b...us,vs.80).aspx
>> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>>
>> Lastly, take a look at :
>> http://msdn2.microsoft.com/library/3...us,vs.80).aspx
>> for info on the Page.OnLoadComplete Method
>>
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Shailesh" <Sh******@discussions.microsoft.com> wrote in message
>> news:4C**********************************@microsof t.com...
>> > Hi Juan,
>> >
>> > I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
>> > started developing this page usign beta1. In beta 1 I have written some code
>> > in Page_LoadComplete(object sender, EventArgs e) events of page. It was
>> > working fine. But after I installed beta 2.0 Page_LoadComplete events is not
>> > firing at all. Can u guide me how can I achieve this goal?
>> >
>> > Thankx in advance.
>> > Shailesh.
>> >
>> > "Juan T. Llibre" wrote:
>> >
>> >> re:
>> >> > SQL provider
>> >>
>> >> See http://beta.asp.net/guidedtour2/s27.aspx
>> >>
>> >> You have to run the ASP.NET SQL Server Setup Wizard
>> >> (aspnet_regsql.exe) and *then* use WSAT to setup
>> >> the SQL Server Provider.
>> >>
>> >> Look for aspnet_regsql.exe in the .Net Framework directory.
>> >>
>> >>
>> >>
>> >> Juan T. Llibre
>> >> ASP.NET MVP
>> >> http://asp.net.do/foros/
>> >> Foros de ASP.NET en Español
>> >> Ven, y hablemos de ASP.NET...
>> >> ======================
>> >>
>> >> "Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
>> >> news:E0**********************************@microsof t.com...
>> >> > 1)
>> >> > There was announced that the default providers for membership, profile, etc
>> >> > in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
>> >> > AccessProvider will be discontinued.
>> >> >
>> >> > I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
>> >> > AccessProvider is still alive and the problem it's that I cannot make work
>> >> > the SQL provider with an SQL database, the AccessDatabase is automatically
>> >> > created and associated as with the providers.
>> >>
>> >>
>> >>
>>
>>
>>


Nov 19 '05 #11
Juan,

I replicated the code as provided by you. But still my LoadComplete event is
not fired.

U can check following code.

public partial class FactoryOtherDetail : ComplianceWeb.CompliancePage
{
public event EventHandler LoadComplete;
Page page1;

protected void Page_Load(object sender, EventArgs e)
{
// my code here
}

protected void Page1_LoadComplete(object sender, EventArgs e)
{
// my code here
}

}

Thnx & Regards,
Shailesh.

"Juan T. Llibre" wrote:
public event EventHandler LoadComplete;

Page page1;

void page1_LoadComplete(object sender, EventArgs e)
{
//your code here...
}

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:DB**********************************@microsof t.com...
Hi Juan,

I gone through the link provided by youl.
But I found only 'public event EventHandler LoadComplete;' part of code
there. I am not able to find event usage code.

It would be great if u can provide me the c# code.

Thankx
Shailesh.

"Juan T. Llibre" wrote:
re:
> So can u tell me how to use this code in c#.

Did u go to the links provided ?

There's C# usage examples in them.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:F8**********************************@microsof t.com...
> Juan,
>
> thnx for ur kind reply.
> I am not using vb.net, I am using c#.net. So can u tell me how to use this
> code in c#.

> "Juan T. Llibre" wrote:
>
>> Hi, Shailesh.
>>
>> The System.Web.UI.Page.LoadComplete
>> event *is* supported in ASP.NET 2.0.
>>
>> You are using VB.Net, so the declaration looks like this :
>>
>> Public Event LoadComplete As EventHandler
>>
>> The instantiation looks like this :
>>
>> WithEvents page1 As Page
>>
>> Function page1_LoadComplete(sender As Object, _
>> e As EventArgs) As Void
>>
>> Handles page1.LoadComplete
>> End Function
>>
>> For further info, check out :
>> http://msdn2.microsoft.com/library/b...us,vs.80).aspx
>> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>>
>> Lastly, take a look at :
>> http://msdn2.microsoft.com/library/3...us,vs.80).aspx
>> for info on the Page.OnLoadComplete Method
>>
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Shailesh" <Sh******@discussions.microsoft.com> wrote in message
>> news:4C**********************************@microsof t.com...
>> > Hi Juan,
>> >
>> > I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
>> > started developing this page usign beta1. In beta 1 I have written some code
>> > in Page_LoadComplete(object sender, EventArgs e) events of page. It was
>> > working fine. But after I installed beta 2.0 Page_LoadComplete events is not
>> > firing at all. Can u guide me how can I achieve this goal?
>> >
>> > Thankx in advance.
>> > Shailesh.
>> >
>> > "Juan T. Llibre" wrote:
>> >
>> >> re:
>> >> > SQL provider
>> >>
>> >> See http://beta.asp.net/guidedtour2/s27.aspx
>> >>
>> >> You have to run the ASP.NET SQL Server Setup Wizard
>> >> (aspnet_regsql.exe) and *then* use WSAT to setup
>> >> the SQL Server Provider.
>> >>
>> >> Look for aspnet_regsql.exe in the .Net Framework directory.
>> >>
>> >>
>> >>
>> >> Juan T. Llibre
>> >> ASP.NET MVP
>> >> http://asp.net.do/foros/
>> >> Foros de ASP.NET en Español
>> >> Ven, y hablemos de ASP.NET...
>> >> ======================
>> >>
>> >> "Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
>> >> news:E0**********************************@microsof t.com...
>> >> > 1)
>> >> > There was announced that the default providers for membership, profile, etc
>> >> > in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
>> >> > AccessProvider will be discontinued.
>> >> >
>> >> > I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
>> >> > AccessProvider is still alive and the problem it's that I cannot make work
>> >> > the SQL provider with an SQL database, the AccessDatabase is automatically
>> >> > created and associated as with the providers.
>> >>
>> >>
>> >>
>>
>>
>>


Nov 19 '05 #12
See if this complete example helps :

http://www.cornetdesign.com/2005/02/...rocessing.html

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
Juan,

I replicated the code as provided by you. But still my LoadComplete event is
not fired.

U can check following code.

public partial class FactoryOtherDetail : ComplianceWeb.CompliancePage
{
public event EventHandler LoadComplete;
Page page1;

protected void Page_Load(object sender, EventArgs e)
{
// my code here
}

protected void Page1_LoadComplete(object sender, EventArgs e)
{
// my code here
}

}

Thnx & Regards,
Shailesh.

"Juan T. Llibre" wrote:
public event EventHandler LoadComplete;

Page page1;

void page1_LoadComplete(object sender, EventArgs e)
{
//your code here...
}

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:DB**********************************@microsof t.com...
> Hi Juan,
>
> I gone through the link provided by youl.
> But I found only 'public event EventHandler LoadComplete;' part of code
> there. I am not able to find event usage code.
>
> It would be great if u can provide me the c# code.
>
> Thankx
> Shailesh.
>
> "Juan T. Llibre" wrote:
>
>> re:
>> > So can u tell me how to use this code in c#.
>>
>> Did u go to the links provided ?
>>
>> There's C# usage examples in them.
>>
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Shailesh" <Sh******@discussions.microsoft.com> wrote in message
>> news:F8**********************************@microsof t.com...
>> > Juan,
>> >
>> > thnx for ur kind reply.
>> > I am not using vb.net, I am using c#.net. So can u tell me how to use this
>> > code in c#.
>>
>> > "Juan T. Llibre" wrote:
>> >
>> >> Hi, Shailesh.
>> >>
>> >> The System.Web.UI.Page.LoadComplete
>> >> event *is* supported in ASP.NET 2.0.
>> >>
>> >> You are using VB.Net, so the declaration looks like this :
>> >>
>> >> Public Event LoadComplete As EventHandler
>> >>
>> >> The instantiation looks like this :
>> >>
>> >> WithEvents page1 As Page
>> >>
>> >> Function page1_LoadComplete(sender As Object, _
>> >> e As EventArgs) As Void
>> >>
>> >> Handles page1.LoadComplete
>> >> End Function
>> >>
>> >> For further info, check out :
>> >> http://msdn2.microsoft.com/library/b...us,vs.80).aspx
>> >> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>> >> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>> >>
>> >> Lastly, take a look at :
>> >> http://msdn2.microsoft.com/library/3...us,vs.80).aspx
>> >> for info on the Page.OnLoadComplete Method
>> >>
>> >>
>> >>
>> >>
>> >> Juan T. Llibre
>> >> ASP.NET MVP
>> >> http://asp.net.do/foros/
>> >> Foros de ASP.NET en Español
>> >> Ven, y hablemos de ASP.NET...
>> >> ======================
>> >>
>> >> "Shailesh" <Sh******@discussions.microsoft.com> wrote in message
>> >> news:4C**********************************@microsof t.com...
>> >> > Hi Juan,
>> >> >
>> >> > I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
>> >> > started developing this page usign beta1. In beta 1 I have written some code
>> >> > in Page_LoadComplete(object sender, EventArgs e) events of page. It was
>> >> > working fine. But after I installed beta 2.0 Page_LoadComplete events is not
>> >> > firing at all. Can u guide me how can I achieve this goal?
>> >> >
>> >> > Thankx in advance.
>> >> > Shailesh.
>> >> >
>> >> > "Juan T. Llibre" wrote:
>> >> >
>> >> >> re:
>> >> >> > SQL provider
>> >> >>
>> >> >> See http://beta.asp.net/guidedtour2/s27.aspx
>> >> >>
>> >> >> You have to run the ASP.NET SQL Server Setup Wizard
>> >> >> (aspnet_regsql.exe) and *then* use WSAT to setup
>> >> >> the SQL Server Provider.
>> >> >>
>> >> >> Look for aspnet_regsql.exe in the .Net Framework directory.
>> >> >>
>> >> >>
>> >> >>
>> >> >> Juan T. Llibre
>> >> >> ASP.NET MVP
>> >> >> http://asp.net.do/foros/
>> >> >> Foros de ASP.NET en Español
>> >> >> Ven, y hablemos de ASP.NET...
>> >> >> ======================
>> >> >>
>> >> >> "Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
>> >> >> news:E0**********************************@microsof t.com...
>> >> >> > 1)
>> >> >> > There was announced that the default providers for membership, profile, etc
>> >> >> > in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
>> >> >> > AccessProvider will be discontinued.
>> >> >> >
>> >> >> > I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
>> >> >> > AccessProvider is still alive and the problem it's that I cannot make work
>> >> >> > the SQL provider with an SQL database, the AccessDatabase is automatically
>> >> >> > created and associated as with the providers.
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>


Nov 19 '05 #13
Juan,

I gone through the example which u provided. But I think its not usefull for
me.
Can u tell me any other way how can I attach my LoadComplete event with my
web page.

Thanks and Regards,
Shailesh

"Juan T. Llibre" wrote:
See if this complete example helps :

http://www.cornetdesign.com/2005/02/...rocessing.html

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.com...
Juan,

I replicated the code as provided by you. But still my LoadComplete event is
not fired.

U can check following code.

public partial class FactoryOtherDetail : ComplianceWeb.CompliancePage
{
public event EventHandler LoadComplete;
Page page1;

protected void Page_Load(object sender, EventArgs e)
{
// my code here
}

protected void Page1_LoadComplete(object sender, EventArgs e)
{
// my code here
}

}

Thnx & Regards,
Shailesh.

"Juan T. Llibre" wrote:
public event EventHandler LoadComplete;

Page page1;

void page1_LoadComplete(object sender, EventArgs e)
{
//your code here...
}

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Sh******@discussions.microsoft.com> wrote in message
news:DB**********************************@microsof t.com...
> Hi Juan,
>
> I gone through the link provided by youl.
> But I found only 'public event EventHandler LoadComplete;' part of code
> there. I am not able to find event usage code.
>
> It would be great if u can provide me the c# code.
>
> Thankx
> Shailesh.
>
> "Juan T. Llibre" wrote:
>
>> re:
>> > So can u tell me how to use this code in c#.
>>
>> Did u go to the links provided ?
>>
>> There's C# usage examples in them.
>>
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Shailesh" <Sh******@discussions.microsoft.com> wrote in message
>> news:F8**********************************@microsof t.com...
>> > Juan,
>> >
>> > thnx for ur kind reply.
>> > I am not using vb.net, I am using c#.net. So can u tell me how to use this
>> > code in c#.
>>
>> > "Juan T. Llibre" wrote:
>> >
>> >> Hi, Shailesh.
>> >>
>> >> The System.Web.UI.Page.LoadComplete
>> >> event *is* supported in ASP.NET 2.0.
>> >>
>> >> You are using VB.Net, so the declaration looks like this :
>> >>
>> >> Public Event LoadComplete As EventHandler
>> >>
>> >> The instantiation looks like this :
>> >>
>> >> WithEvents page1 As Page
>> >>
>> >> Function page1_LoadComplete(sender As Object, _
>> >> e As EventArgs) As Void
>> >>
>> >> Handles page1.LoadComplete
>> >> End Function
>> >>
>> >> For further info, check out :
>> >> http://msdn2.microsoft.com/library/b...us,vs.80).aspx
>> >> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>> >> http://msdn2.microsoft.com/library/2...us,vs.80).aspx
>> >>
>> >> Lastly, take a look at :
>> >> http://msdn2.microsoft.com/library/3...us,vs.80).aspx
>> >> for info on the Page.OnLoadComplete Method
>> >>
>> >>
>> >>
>> >>
>> >> Juan T. Llibre
>> >> ASP.NET MVP
>> >> http://asp.net.do/foros/
>> >> Foros de ASP.NET en Español
>> >> Ven, y hablemos de ASP.NET...
>> >> ======================
>> >>
>> >> "Shailesh" <Sh******@discussions.microsoft.com> wrote in message
>> >> news:4C**********************************@microsof t.com...
>> >> > Hi Juan,
>> >> >
>> >> > I am developing an asp.net application using c# and asp.net 2.0 beta 2. I
>> >> > started developing this page usign beta1. In beta 1 I have written some code
>> >> > in Page_LoadComplete(object sender, EventArgs e) events of page. It was
>> >> > working fine. But after I installed beta 2.0 Page_LoadComplete events is not
>> >> > firing at all. Can u guide me how can I achieve this goal?
>> >> >
>> >> > Thankx in advance.
>> >> > Shailesh.
>> >> >
>> >> > "Juan T. Llibre" wrote:
>> >> >
>> >> >> re:
>> >> >> > SQL provider
>> >> >>
>> >> >> See http://beta.asp.net/guidedtour2/s27.aspx
>> >> >>
>> >> >> You have to run the ASP.NET SQL Server Setup Wizard
>> >> >> (aspnet_regsql.exe) and *then* use WSAT to setup
>> >> >> the SQL Server Provider.
>> >> >>
>> >> >> Look for aspnet_regsql.exe in the .Net Framework directory.
>> >> >>
>> >> >>
>> >> >>
>> >> >> Juan T. Llibre
>> >> >> ASP.NET MVP
>> >> >> http://asp.net.do/foros/
>> >> >> Foros de ASP.NET en Español
>> >> >> Ven, y hablemos de ASP.NET...
>> >> >> ======================
>> >> >>
>> >> >> "Marcos B" <Marcos B@discussions.microsoft.com> wrote in message
>> >> >> news:E0**********************************@microsof t.com...
>> >> >> > 1)
>> >> >> > There was announced that the default providers for membership, profile, etc
>> >> >> > in beta 2 would be SQLExpress instead of the Beta 1 AccessProvider, and that
>> >> >> > AccessProvider will be discontinued.
>> >> >> >
>> >> >> > I'm trying to do some simple apps in asp.net 2.0 beta 2, but the
>> >> >> > AccessProvider is still alive and the problem it's that I cannot make work
>> >> >> > the SQL provider with an SQL database, the AccessDatabase is automatically
>> >> >> > created and associated as with the providers.
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>
>>
>>


Nov 19 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Anthony Baxter | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team and the Python community, I'm happy to announce the first beta of Python 2.4. Python 2.4b1 is an beta...
0
by: Anthony Baxter | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On behalf of the Python development team and the Python community, I'm happy to announce the second beta of Python 2.4. Python 2.4b2 is a beta...
48
by: ik | last post by:
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your system administrator. GREAT!!! ReInstalled SQL...
0
by: WBuik | last post by:
I am trying to install .Net 2005 Professional Beta on one of my computers, but I am having problems. When i first install, it is unable to instal J# runtime, or SQL Server. Both of these, the...
5
by: Michael C | last post by:
While I think just about every IT expert out here agrees that the first commandment is Thou Shalt Not Install Beta Software in a Production Environment, the corollary to this would have to be that...
3
by: Benjamin.Nitschke | last post by:
Today I installed Microsoft Visual Studio 2005 Beta 2 from the Visual Studio Beta Experience Kit. After installing (which takes way to long) when I open Visual Studio 2005 I only get a message box...
1
by: Steen Tøttrup | last post by:
I don't know if there is another newsgroup where I should ask this question..?? I have this .NET web application that I've build using .NET 1.1. Now I've moved it to .NET 2.0 beta 2, and...
14
by: Chuck | last post by:
I'm trying to install VWD Express Beta 2, but it's telling me that I need to uninstall MSDN Express Library 2005 Beta first. I uninstalled everything using the Add/Remove Programs control panel...
3
by: Mike P | last post by:
I installed VS 2005 Beta 1 on my machine, and then uninstalled it a while ago. I was never able to reinstall it (it never manages to reinstall the Framework and just hangs forever in the install...
5
by: Lars Netzel | last post by:
I have gotten the VS.NET 2005 Beta version in the MSDN package... It seems like FrameWork 2.0 is also required for that... Is there any problems installning this on the same system as a VS.NET...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.