Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Ajax Controll

Question posted by: malav123 (Familiar Sight) on March 24th, 2008 11:13 AM
Hi,
I am using Tab container Controll of ajax... but my problem is that when i put the tab container in "update pannel" the style of tab container tottly gets changed.. and if i removes the update pannel tag then my tab container controll works fine... before this post i also sent the post about the same problem but still i didn't get solution for my problem.... So please give me solution.. because this control is very crucial in my project...
awaiting for response... please reply as soon as possible...
thanks......
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Frinavale's Avatar
Frinavale
Forum Leader
2,128 Posts
March 24th, 2008
02:33 PM
#2

Re: Ajax Controll
Quote:
Originally Posted by malav123
Hi,
I am using Tab container Controll of ajax... but my problem is that when i put the tab container in "update pannel" the style of tab container tottly gets changed.. and if i removes the update pannel tag then my tab container controll works fine... before this post i also sent the post about the same problem but still i didn't get solution for my problem.... So please give me solution.. because this control is very crucial in my project...
awaiting for response... please reply as soon as possible...
thanks......


Hi Malav,

Is this the Tab Control that you're using? A TabContainer?

-Frinny

Reply
malav123's Avatar
malav123
Familiar Sight
211 Posts
March 25th, 2008
06:05 AM
#3

Re: Ajax Controll
Quote:
Originally Posted by Frinavale
Hi Malav,

Is this the Tab Control that you're using? A TabContainer?

-Frinny



HI Frinny,
I am usign ajax tab container controll....

Reply
malav123's Avatar
malav123
Familiar Sight
211 Posts
March 25th, 2008
12:52 PM
#4

Re: Ajax Controll
Hi Frinny,
Please reply me i am awaiting for your reply...

Reply
Frinavale's Avatar
Frinavale
Forum Leader
2,128 Posts
March 26th, 2008
03:27 AM
#5

Re: Ajax Controll
Quote:
Originally Posted by malav123
Hi Frinny,
Please reply me i am awaiting for your reply...

I apologize for the delayed response but between school and work I haven't had much time for myself lately.

I can't seem to reproduce the problem that you're facing.

What changes about your style when you place it in the UpdatePanel.
Do you have an external CSS file for a Panel or Div that the tab control is within?

A CSS style set for a panel applies to all elements within it.
Check to see if this might be the cause to your problem.

-Frinny

Reply
malav123's Avatar
malav123
Familiar Sight
211 Posts
March 26th, 2008
04:16 AM
#6

Re: Ajax Controll
Quote:
Originally Posted by Frinavale
I apologize for the delayed response but between school and work I haven't had much time for myself lately.

I can't seem to reproduce the problem that you're facing.

What changes about your style when you place it in the UpdatePanel.
Do you have an external CSS file for a Panel or Div that the tab control is within?

A CSS style set for a panel applies to all elements within it.
Check to see if this might be the cause to your problem.

-Frinny




Hi Frinny,
First of all thanks for such kind response.......
I am using downloaded theme for tab controll and whenever i puts update pannel the theme not works properly... i also tried to used default tab controll without the use of theme but in dafault tab controll all the tabs disappears when i uses update pannel.... and my project's theme is tottaly depended on tab controll so what can i do ??? please give me some suggestion....
again thank u...

Reply
malav123's Avatar
malav123
Familiar Sight
211 Posts
March 28th, 2008
05:55 PM
#7

Re: Ajax Controll
Quote:
Originally Posted by Frinavale
I apologize for the delayed response but between school and work I haven't had much time for myself lately.

I can't seem to reproduce the problem that you're facing.

What changes about your style when you place it in the UpdatePanel.
Do you have an external CSS file for a Panel or Div that the tab control is within?

A CSS style set for a panel applies to all elements within it.
Check to see if this might be the cause to your problem.

-Frinny



Hi Frinny,
First of all thanks for such kind response.......
I am using downloaded theme for tab controll and whenever i puts update pannel the theme not works properly... i also tried to used default tab controll without the use of theme but in dafault tab controll all the tabs disappears when i uses update pannel.... and my project's theme is tottaly depended on tab controll so what can i do ??? please give me some suggestion....
again thank u...

Reply
balabaster's Avatar
balabaster
Expert
379 Posts
March 28th, 2008
09:16 PM
#8

Re: Ajax Controll
I've found similar issues with formatting when it comes to certain controls such as the TreeView - but only when I included it in a UserControl, if I embedded it directly in a page, it worked fine.

To get around the problem, what I found was to nest my object (in this situation a TreeView) inside of a div with a fixed width/height and setting the overflow to auto, in my case, it alleviated the symptoms of this issue.

That's not to say that it will definitely alleviate the symptoms of yours but in most cases, html formatting issues are down to the fact that you've got opposing or missing formatting entries.

For instance - if your object is set to auto-size but your div doesn't have any style properties set, then of course it will resize. The easiest way to fix the issue is to simplify. If AJAX is truly the cause of the issue, then you may need to download the AJAX source (which is just JavaScript and a bunch of .NET scripts) and modify and recompile the source.

Reply
malav123's Avatar
malav123
Familiar Sight
211 Posts
March 31st, 2008
12:55 PM
#9

Re: Ajax Controll
Quote:
Originally Posted by balabaster
I've found similar issues with formatting when it comes to certain controls such as the TreeView - but only when I included it in a UserControl, if I embedded it directly in a page, it worked fine.

To get around the problem, what I found was to nest my object (in this situation a TreeView) inside of a div with a fixed width/height and setting the overflow to auto, in my case, it alleviated the symptoms of this issue.

That's not to say that it will definitely alleviate the symptoms of yours but in most cases, html formatting issues are down to the fact that you've got opposing or missing formatting entries.

For instance - if your object is set to auto-size but your div doesn't have any style properties set, then of course it will resize. The easiest way to fix the issue is to simplify. If AJAX is truly the cause of the issue, then you may need to download the AJAX source (which is just JavaScript and a bunch of .NET scripts) and modify and recompile the source.






Hi,
Thanks for response.... i am not using div tag for my tab container but i am using panel controlls because my page contains both tab container as well as gridview that's why i am using pannel because sometimes i needs to display tab container and sometimes i needs to display gridview...
I have also two more pannels one for displaying notes and one for filtering of gridview....i have given fixed height as well as width of the tab container so what can i do now ??
when i removes the update panel my tabcontainer properly works but when i puts update panel it is not working properly....
So give me suggesion please....
Thanks for giving me Response...

Reply
Reply
Not the answer you were looking for? Post your question . . .
182,534 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Top .NET Forum Contributors