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 )

107926 put(a) pogledan, 23 odgovor(a) 29.7.2011. 1:18:13Kreirao(la) shawndg
shawndg

shawndg

12.8.2011. 11:17:09
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 ?

Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava
pajo

pajo

12.8.2011. 14:42:51
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.
Ovaj sadržaj još nije ocijenjen. 
629 Reputacija 83 Ukupno objava
shawndg

shawndg

12.8.2011. 17:18:35
Thanks..

worked like a charm!
Ovaj sadržaj još nije ocijenjen. 
1871 Reputacija 252 Ukupno objava
1 2 3