close edit on widget - breaks
GoogleCodeExporter opened this issue · comments
What steps will reproduce the problem?
1. Load New Source Code and dB
2. Open in web browser
3. Click Edit on Weather Widget
4. Change Zip Code
5. Click Save
6. Content is updated successfully
7. click 'close edit' does not revert back to 'edit' link
8. click 'close edit' and error bubbles up
What is the expected output? What do you see instead?
'close edit' link hides settings panel and link returns to 'edit'
Settings panel does not hide on other widget such as HTML widget.
Error
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
.NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.648;
.NET CLR 3.5.21022; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Fri, 24 Jul 2009 14:21:20 UTC
Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown
error occurred while processing the request on the server. The status code
returned from the server was: 500
Line: 5
Char: 62099
Code: 0
URI:
http://dropthings.omaralzabir.com/ScriptResource.axd?d=NRc8ZF5fG9BCEJxYHta1DN38D
CyDNxIQ2v_7sne0g2A1x4mGLCYytyWPC_gaxcR7RCzywGIKBIwftSE-sCYp0Ha6egWGyrOQzVemKgttV
Kk1&t=ffffffffd7199832
What version of the product are you using? On what operating system?
dropthings 2.3.1, xp pro also is broken at
http://dropthings.omaralzabir.com/Default.aspx
Please provide any additional information below.
Original issue reported on code.google.com by craig.ni...@gmail.com
on 24 Jul 2009 at 2:28
Found error in code in code behind
protected void btnSave_Click(object sender, EventArgs e)
{
zipCode = txtZipCode.Text;
lblWeather.Text = GetWeatherData();
this.Host.SaveState(zipCode);
(this as IWidget).HideSettings();
}
should be
protected void btnSave_Click(object sender, EventArgs e)
{
zipCode = txtZipCode.Text;
lblWeather.Text = GetWeatherData();
//this.Host.SaveState(zipCode);
_Host.HideSettings();
}
Original comment by craig.ni...@gmail.com
on 24 Jul 2009 at 8:54
Maybe my comments on Issue 47 are related with this issue.
Regards.
Original comment by ochandi...@gmail.com
on 15 Oct 2009 at 8:54
we leave open the issue 47 which is similar to this, thanks for the report
Original comment by glope...@gmail.com
on 17 Feb 2010 at 10:57
- Changed state: Done