I just downloaded the classifieds starter kit, and am trying to go through the code. What I have found out was when I click on the Ads awaiting for activation link in My ads, I don't see anything. When I checked the code and it is executing the following.
MyAdsMultiView.SetActiveView(UserAdsView)
Page.SetFocus(ActivationAdsGrid)
But this does not show any pending ads. However when I click the inacitveads, then the site shows me the pending ads as well. Could any one help me how to get this working for the pending ads link. I have a difficult time even finding the grid ActivationsAdsGrid.
My problem is when I click the pending ads link from the admin screen, system does not show anything. However when I clcik the in-active ads, then the system displays the in-active and pending ads (not sure why).
Following is the code that runs when the pending ads link is clicked.
Protected Sub ActivationAdsButton_Click(ByVal sender As Object, ByVal e As EventArgs)
MyAdsMultiView.SetActiveView(UserAdsView)
Page.SetFocus(ActivationAdsGrid)
End Sub
Following is for the inactive ads
Protected Sub InactiveAdsButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles InactiveAdsButton.Click
MyAdsMultiView.SetActiveView(UserInactiveAdsView)
End Sub
I have not changed a single piece of code here. I just opened VS and created a new web site. So it looks like there are some basic functionality issues with the starter kit.
coolvaas1
Participant
938 Points
435 Posts
How to see ads waiting for activation
May 13, 2010 02:10 PM|LINK
I just downloaded the classifieds starter kit, and am trying to go through the code. What I have found out was when I click on the Ads awaiting for activation link in My ads, I don't see anything. When I checked the code and it is executing the following.
MyAdsMultiView.SetActiveView(UserAdsView)
Page.SetFocus(ActivationAdsGrid)
But this does not show any pending ads. However when I click the inacitveads, then the site shows me the pending ads as well. Could any one help me how to get this working for the pending ads link. I have a difficult time even finding the grid ActivationsAdsGrid.
manorfarm
Member
114 Points
50 Posts
Re: How to see ads waiting for activation
May 13, 2010 04:31 PM|LINK
Hi
You will only have ads awaiting for activation if you have set this to happen in the site administration area under site settings
If this is checked to 'yes' any adds you place will not be activated but they will appear in myads.aspx under the tab you mention above
Hope this helps
coolvaas1
Participant
938 Points
435 Posts
Re: How to see ads waiting for activation
May 13, 2010 05:14 PM|LINK
Yes, I have already set it to yes. But still it does not show pending ads.
Spider Maste...
Participant
1664 Points
483 Posts
Re: How to see ads waiting for activation
May 18, 2010 07:00 PM|LINK
You can activate the pending listings from the administration link found in the Admin!
If this is not working please tell us more, you may be missing a piece of code!
Trading Center is a Continuation of the Classifieds Starter Kit onCode Plex.
coolvaas1
Participant
938 Points
435 Posts
Re: How to see ads waiting for activation
May 19, 2010 07:54 PM|LINK
My problem is when I click the pending ads link from the admin screen, system does not show anything. However when I clcik the in-active ads, then the system displays the in-active and pending ads (not sure why).
Following is the code that runs when the pending ads link is clicked.
Protected Sub ActivationAdsButton_Click(ByVal sender As Object, ByVal e As EventArgs)
MyAdsMultiView.SetActiveView(UserAdsView)
Page.SetFocus(ActivationAdsGrid)
End Sub
Following is for the inactive ads
Protected Sub InactiveAdsButton_Click(ByVal sender As Object, ByVal e As EventArgs) Handles InactiveAdsButton.Click
MyAdsMultiView.SetActiveView(UserInactiveAdsView)
End Sub
I have not changed a single piece of code here. I just opened VS and created a new web site. So it looks like there are some basic functionality issues with the starter kit.
Thanks for all your feedback.