abhinav-maheshwari / sharepoint-twitter

Automatically exported from code.google.com/p/sharepoint-twitter
0 stars 0 forks source link

Exception upon first time completing Show Tweets web part properties (Yellow Page of Death) #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add a new instance of the web part
2. Edit web part settings and add the required field values (screen name, 
secret key etc)
3. Click OK

What is the expected output? What do you see instead?
Expected to return to original page prior to editing web part.

Instead a yellow page of death is shown, cause is that this property:

imgbtnNext

in ShowTweets.cs is null on completion - line 747. Resolved locally by wrapping 
in an if statement to check if object is null before attempting to assign the 
"OnClientClick"

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by suran.mi...@gmail.com on 20 Jun 2012 at 2:04

GoogleCodeExporter commented 9 years ago
Thanks Suran,

We have changed the code and found the case when it's occurring (it' when Ok 
button is clicked before the Apply button in web-part settings).

Sumit Kanchan.

Original comment by niting@brickred.com on 25 Jun 2012 at 9:55