Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem with show datasource of CountryListBox control in DNN 4.9.1!Problem with show datasource of CountryListBox control in DNN 4.9.1!
Previous
 
Next
New Post
3/28/2009 10:36 PM
 

Hello everyone! I'm using DotNetNuke 4.9.1. And i have a problem with showing datasource of CountryListBox control! Please help me!

Here my source code:

<%@ Register TagPrefix="wc" Namespace="DotNetNuke.UI.WebControls" Assembly="CountryListBox" %>           

 <wc:countrylistbox id="cboCountry" runat="server" Width="200px" CssClass="NormalTextBox" TestIP="yes"
                DataValueField="Value" DataTextField="Text" AutoPostBack="True" onselectedindexchanged="cboCountry_SelectedIndexChanged"></wc:countrylistbox>

......

private void loadCountryList()
{
         ListController ctlEntry = new ListController();
         ListEntryInfoCollection entryCollection = ctlEntry.GetListEntryInfoCollection("Country");
         cboCountry.DataSource = entryCollection;
         cboCountry.DataBind();
         cboCountry_SelectedIndexChanged(cboCountry, null);
}

I made a comparison between DNN 4.9.0 and DNN 4.9.1. Then i recognized that there's different between structure of 'entryCollection'. So, cboCountry binds and show datasource well in DNN 4.9.0. But cboCountry doen't bind with structure of 'entryCollection' in DNN 4.9.1.

In the same code, but they build in the different ways. I wondered it's cause of dll files!

So please help me to solve this problem! Thanks!

 

 
New Post
3/29/2009 7:28 AM
 

I don't find anything related in Gemini except a version number upgrade for DNN5. 

Did you try the same with DNN 4.9.2 already?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/30/2009 8:51 AM
 

I also don't see any change between DNN 4.9.0 and 4.9.1. What exactly happens - error thrown or logged, incorrect text or values bound to cboCountry, etc - when you databind the country list in DNN 4.9.1?


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
3/31/2009 12:04 PM
 
Hi, thanks for reply I tried to customize shopping cart module of Bookstore project - Not use biling address here ! And i had that problem when went to checkout page! After that, i changed some things: _ created a module to store cartdetail page. _ created a module to store checkout page. And, it solved the problem of countrylistbox control by itself! But i had another problem!! I want my website process in this way: 1. End user chooses items. Click add button. 2. Go to cartdetail page. Add/Remove/Update items. Click checkout button. 3. In checkout page. Filling shipping address. Click confirm to order 4. After that, click 'Continue to paypal' button. The problem i had here is : After, end user clicked continue to paypal button, he went to paypal in wrong way! But in Bookstore project; After end user clicked Continue to paypal button, he went to paypal and paypal showed the right template - it means he can pay his order. I tried to debug and compare every line between my project and Bookstore project. Everything is the same! Just one thing is different - postbackurl of Continue to paypal button was different after i had clicked it! In Bookstore project, after clicking Continue to paypal button! its postbackurl is like that: "https://www.sandbox.paypal.com/us/............cmd=.....&dispatch=......" In my project, its postbackurl is like that: "https://www.sandbox.paypal.com/" In two projects,I didn't know why SetUpPayPayFields() function set the same postbackurl of Continue to paypal button is: "https://www.sandbox.paypal.com/" .But in Bookstore project, it's different after i clicked it ?????? Please help me!! Thanks
 
New Post
3/31/2009 12:24 PM
 
Thanks for reply! I customized shopping cart module of Bookstore project - Not use Billing address. And i had this problem. In last days, i changed shopping cart module again! _ Created a module to store cartdetail.ascx _ Created a module to store checkout.ascx And, I didn't see countrylistbox problem! Is it because countrylistbox control standed in the independent page ???? I'm not sure about it! I had a new problem! I can't go to paypal in the right template after clicking Continue to paypal button. I tried to debug and compare between Bookstore project and my project. I saw SetUuPaypalFields() function set the same postbackurl of Continue to paypal button - "https://www.sandbox.paypal.com/" But in Bookstore project, after clicking Continue to paypal buton; its postbackurl is different with above postbackurl - it's: "https://www.sandbox.paypal.com/../cgi-bin/webscr...cmd=...&dispatch=...." whie the postbackurl in my project is the same with above postbackurl ! I configged everything well. Where did i make mistake??? Please help me solve this problem! Thanks
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem with show datasource of CountryListBox control in DNN 4.9.1!Problem with show datasource of CountryListBox control in DNN 4.9.1!


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out