|
Hello
Actually when I tried to render an aspxgridview with aspxgridview.rendercontrol it displayed an error controls should be placed inside a form tag thats why I have created a form object and disposed it but still when the code reached to the render event it displayed the error page can not have two form tags with runat=server.That is my problem now how I can completely destroy that form object.
|
|
|
|
|
But you can put the Gridview inside the form tag, like
...
...
<asp:gridview runat="server" id="g...>
</asp:gridview>
</form>
By this way you are using the existing Form of the page rather than creating a new one.
And your problem will be solved!!
|
|
|
|
|
Hello
That Issue has been resolved now I found a solution for that after searching a lot on the net finally I got a solution a simple event code that we have to just place in the form..
public override void VerifyRenderingInServerForm(Control control)
{
// Confirms that an HtmlForm control is rendered for the
// specified ASP.NET server control at run time.
// No code required here.
}
rebdered my control and the page will get rendered smoothly.
Thanks
|
|
|
|
|
Hello,
I have a datalist in which I show some item.when I click on any item its item command is fired.But the problem is the progress bar is start progress after (5-6 sec) and the user think either the site is not working or nothing is happen.Can someone please tell what is the problem and how to solve this.
Please help me.
Thanks & Regards
|
|
|
|
|
use UpdatePanel... Which will hold progressbar to be shown when form is posted to the server. ..
|
|
|
|
|
Hi,
I already use anthem control and on click an item i redirect it to the next page.
|
|
|
|
|
I have a rdlc file generated.
I have placed a chart control and I want to change the chart type to bar in the code behind. Is there a way to do it?
|
|
|
|
|
RDLC is nothing but an XML file....
Read the Xml using FileStream object,
Move to the place
<chart>
<Type>Bar</Type>
</Chart>
And change the type Bar to anything.
You can load the Xml using Stream using LoadReportDefinition method of Reportviewer which has an overload which takes Stream as argument rather than directly passing reportpath.
Hope you got the idea.
|
|
|
|
|
Good Day all
I have a Usercontrol that has a Gridview and its hosted on my aspx page and the aspx page is defined like this
http://www.codeguru.com/forum/attachment.php?attachmentid=25184&d=1248951804[^]
I have wrapped all the controls in this page with a updatepanel and as you can see this is a content page of the master page. Now before I had no updatepanel and all the controls are alive and active, after I added a updatepanel I have several controls that does not respond. One of them is the menuActivityDelete, this menu hovers onmouse over , but after the addition of update panel there is no hovering and the grid in the usercontrol does not respond. Now I debugged it by putting a break point and I checked the code behind and It does executes the code but gui stays as freezed.
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Yes.. Updatepanel Creates a new form at runtime and posts that with all Viewstate and all to the server. While the page is posted back from the server, the updatepanel will freeze the controls in the client and the user cant do anything with it.
As per my recommendation, I can see you placed everything inside the update panel. Rather than this, it would be fruitful to you if you place only the things that you need in the server side to be posted back.
Use more than one Updatepanels in the page and post only the things that you need through AJAX.
This will do the trick I think.
|
|
|
|
|
hey Buddy you are right , i have to leave another part of the page that is not used often to flicker so that it can open a way fro other controls that really don't need flickering.
Thanks for your help.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
hi everybody!
please help me to solve this trouble : "error CS1056: Unexpected character '�'
", when i run my project in local then it run very well, but i upload host, it throw out error.
as soon as possible!
|
|
|
|
|
MSDN says this[^]. Does it helps?
|
|
|
|
|
This link will not help him there is no solution there
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
But it does tells one of the possible reasons why he got that error. Possible giving a bit more detail will make things clear.
|
|
|
|
|
True, Someone once ask this question in microsoft forum and they replied by saying "We are aware of the problem and we are busy fixing it"
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
while binding a crystal report with report viewer
|
|
|
|
|
I have a dropdownlist with existing items. If the user can not find a correct entry in the list, I want him to be able to add a new item to the list immediately. Is there a way in the webform for the dropdownlist area to be treated like a textbox for dataentry purposes.
thanks..
|
|
|
|
|
|
Better do one thing take dropdowlist, beside ddl put one button called add and when ever click that button its visble textbox and add name replace to submit . i think this way ll be use for u.
try and try untill reach success..
|
|
|
|
|
its not me who is looking for help
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
sorry bro..
try and try untill reach success..
|
|
|
|
|
no Problem Broer
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
This appears to be the only viable choice so thanks...
|
|
|
|
|
Thanks..
The first does not seem to work for webforms.
The second is the cluge I was trying to avoid..
Thanks just the same. It appears to be the only viable alternative..
|
|
|
|