CodeVerge.Net Beta
Login Idy
Register Password
  Forgot?
Explore    Item Entry    Profile   
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML





Zone: > newsgroup > asp.net forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 4/24/2005 1:30:26 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 7 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
ad_flying
Asp.Net User
Can we synchronize the DropDownList and DetailView4/24/2005 1:30:26 PM

0/0

I have a DropDownList and a DetailView  on my Web form with the some DatasourceID.

After I selected a key form the DropDownList.,  can I synchronize the DetailView to the page of  the key?

ByReckon
Asp.Net User
Re: Can we synchronize the DropDownList and DetailView4/24/2005 5:05:21 PM

0/0

[This post have been modified]

Hello ad_flying

have you tried with the DetailsView.PageIndex Property? Be advice that Paging in the DetailsView control should be enabled.

If you set the AutoPostBack to true in the DropDownList, handling the SelectedIndexChanged event you could try to use:

Public myDDL_SelectedIndexChanged(sender as Object, e as EventArgs) _
Handles myDDL_SelectedIndexChanged

myDetailsView.PageIndex = myddl.SelectedIndex

End Sub

I haven't test this code by myself, hence I don't know if it will work.


VB .Net Coder - Apologize my C# nescience
Best Regards.
ad_flying
Asp.Net User
Re: Can we synchronize the DropDownList and DetailView4/24/2005 8:18:46 PM

0/0

Thank,

I have tried:

myDetailsView.DataItemIndex = myddl.SelectedIndex;

But it result in an error:

myDetailsView.DataItemIndex  is read only

 

 

 ByReckon wrote:

[This post have been modified]

myDetailsView.PageIndex = myddl.SelectedIndex

ByReckon
Asp.Net User
Re: Can we synchronize the DropDownList and DetailView4/24/2005 8:59:53 PM

0/0

Hello again ad_flying,

I have been playing around with this issue and it works.

Use the DetailsView.PageIndex Property instead of the DataItemIndex.

If you see my first reply, it has been amended.

Greetings.


VB .Net Coder - Apologize my C# nescience
Best Regards.
ad_flying
Asp.Net User
Re: Can we synchronize the DropDownList and DetailView4/24/2005 9:26:26 PM

0/0

Thank Sir,

The PageIndex  do well!

5 Items, 1 Pages 1 |< << Go >> >|



Search This Site:


Meet Our Sponsors:



Other Resources:

BSOD after installing ZEN 6.5 agent - novell.support.zenworks.desktop ... BSOD after installing ZEN 6.5 agent, > ROOT > NEWSGROUP > Novell Forums > novell.support.zenworks.desktop ... can we synchronize the dropdownlist and ...
Anyone used Canon SDK before? - borland.public.delphi.graphics - Web ... Anyone used Canon SDK before?, > ROOT > NEWSGROUP > Borland Forums > borland.public.delphi.graphics, ... can we synchronize the dropdownlist and detailview ...
The Official Microsoft ASP.NET Site ... such as the GridView, DetailsView, DropDownList, CheckBoxList, and several others. ... Figure 22: All Changes are Synchronized with the Database When the ...
BSOD after installing ZEN 6.5 agent - novell.support.zenworks.desktop ... BSOD after installing ZEN 6.5 agent, > ROOT > NEWSGROUP > Novell Forums > novell.support.zenworks.desktop ... can we synchronize the dropdownlist and ...
dotnetcat Search results for query "reports" The good news is that WCT will report exactly what synchronization object you ... see how to display the master records in a DropDownList control and the details ...
Re: Welcome - Resco Forums Then you will synchronize data to main database and erase this ... The only way I can get anything to show in the drop down list is by manually entering data. ...
Anyone used Canon SDK before? - borland.public.delphi.graphics - Web ... Anyone used Canon SDK before?, > ROOT > NEWSGROUP > Borland Forums > borland.public.delphi.graphics, ... can we synchronize the dropdownlist and detailview ...
Inside Microsoft: Data Access in ASP.NET 2.0 ... and didn't address issues like synchronization, paging and the sorting of data. ... From the design view , select the detailview control. ...
TheMSsForum.com >> Dotnet >> How to use Dll in VC++ .NET - The ... Synchronize accessing a file Hi, I have an application the users will run on ... I have a number of dropdownlist controls within a detailview control. ...
.NET ASP Page 24 - Bytes Site Map Will we use DetailView in real application? Can I turn 1 long column into 3 shorter ones? ... Easiest way to make drop down list and textbox the same width ...
Sugar Professional Release Notes The Prospects tracker_key is missing from EditView.php and DetailView.php ... you create a meeting in Sugar with many invitees and then synchronize with the ...
Cave Markings - Wednesday, 13 June 2007 ... solution, and planned integration with synchronization services and ... with ASP.NET controls such as GridView, DropDownList and DetailView and others. ...


 
All Times Are GMT