MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Event Viewer.  (Mono Support )

Viewed 85175 time(s), 23 post(s) 7/29/2011 1:18:13 AMby shawndg
shawndg

shawndg

8/12/2011 11:17:09 AM
Thanks Guys for all the help.

All the code ended up being correct.

The problem was found by the Monox team.

The designer file was corrupted due to mis-coding on my part when i Inherited the wrong part.
The designer then was auto created and never auto-corrected.

The designer file needed to be deleted and regenerated.
Once the Monox team pointed that out.. everything started to work.

Ok guys...
Now I have a new problem..
I tried seting Auto Paging = True, and the default page size is 10.
The pager is showing . << ... >>> something like that.
I cant click anything and its only showing 10 events

Any idea why ?

This content has not been rated yet. 
1871 Reputation 252 Total posts
pajo

pajo

8/12/2011 2:42:51 PM
Hi Shawn,

There is a bug inside EventSimpleModule that prevents correct loading of pager template, we have fixed it in the upcoming MonoX version. There is a dirty workaround, you can override OnLoad and prevent calling of the base OnLoad. You would need to override OnLoad inside your SimpleViewEventExt module like this:

protected override void OnLoad(EventArgs e)
{
     // TODO: Uncomment this line when MonoX is upgraded
    //base.OnLoad(e);
}

Once you upgrade MonoX you can completely remove OnLoad override.
This content has not been rated yet. 
629 Reputation 83 Total posts
shawndg

shawndg

8/12/2011 5:18:35 PM
Thanks..

worked like a charm!
This content has not been rated yet. 
1871 Reputation 252 Total posts
1 2 3