Click to See Complete Forum and Search --> : Need help debugging!!!


sniper
04-28-2006, 09:40 AM
Hello all,
I really need some help with these bugs I have. I have posted them from last week and no-one seems to be able to figure them out. I hope someone will be able to help me with these.

bug1:

I am trying to do paging with a repeater. I have it working and all, but the problem is that it's only showing half of my set page size, therefor I'm missing half of my items.

objPDS.AllowPaging = True
objPDS.PageSize = 15
objPDS.DataSource = dv



bug2:

Again with a paging repeater but on a search page. I do my search and everything works. When I go to change page everything disappears and I have do the search again to see the next page. I don't have any code in my page_load but anything I try putting in there gives me errors. I also have the problem of bug1 on this page. Let me know if you want to see any code for this bug.

and finally bug3:

In my repeater I want to have a link in the first column and am trying to set it with databinding. I can't seem to get it to work.

<a href='file:///F:/Apache2/htdocs/ippdocs/isinstf.htm?ippPrinterURL=ipp://<%# DataBinder.Eval(Container.DataItem, "PrinterServer") %>/ipp/<%# DataBinder.Eval(Container.DataItem, "PrinterName") %>/&onIstalled=status&onNotInstalled=install' target=iPrintMain runat="server">
<%# DataBinder.Eval(Container.DataItem, "PrinterName") %>
</a>


All help will be very much appreciated, as for these three bugs are what's keeping me from finishing the project now. Ask anything needed if it's going to help.

Thank you all!

sniper
04-28-2006, 10:48 AM
bug3 is resolved

<a href='<%# string.format("http://"+Container.DataItem("PrinterServer")+"/ippdocs/isinstf.htm?ippPrinterURL=ipp://"+Container.DataItem("PrinterServer")+"/ipp/"+Container.DataItem("PrinterName")+"/&onIstalled=status&onNotInstalled=install")%>' target=iPrintMain runat="server">
<%# DataBinder.Eval(Container.DataItem, "PrinterName") %>
</a>

sirpelidor
04-29-2006, 03:37 AM
ur code seems fine, take off that paging thing and make sure all your records are being loaded, i got a feeling its' your result set from Oracle that cost problem, not ur paging from repeater