|
yes, you can put panel in td and table in panel.
|
|
|
|
|
sowjanya3 wrote: Should we place a panel inside the table or table inside the panel?
For What ? Any specific requirments ?
Panels are Rendered into HTML DIV . and Table are same it is.
Like, if your write,
<asp:Panel ID="Panel1" runat="server"> </asp:Panel>
Then, the HTML Output will be,
div id="Panel1" Cheers !
Abhijit
Codeproject MVP
|
|
|
|
|
Its upto your requirement.You can put panel in td of a table.And you also can put table inside a panel.
Panel are mainly used to group some part of a page and we can show hide the panel according to the requirement if required.And table is used to have proper structure of the page.So if you have different section in your page, you can use panel and inside that have a table for design...
Hope it clears bit...Cheers!!
Brij
|
|
|
|
|
Sure.
You can both place a panel inside the table and place a table inside the panel.You can have a try by yourself.
|
|
|
|
|
I had used both but just i want to confirm whether is there any specific rule. thats it
|
|
|
|
|
Hi,
Do you want this:
< asp:Panel ID="Panel1" runat="server">
< table>
< tr>
< td>
</td>
</tr>
</table>
</asp:Panel>
Or this:
< table>
< tr>
< td>
< asp:Panel ID="Panel2" runat="server">
</asp:Panel>
</td>
</tr>
</table>
modified 27-May-14 4:42am.
|
|
|
|
|
Iam making a project in asp.net.In this project when you click in hyper link then Excel file is Opend now i want to save this excel file in my project but iam helpless pls suggest me how it will save without any location .when it is open it shows Read-Only.. i stuck this Problem..help me plsssss
|
|
|
|
|
Mohit3 wrote: now i want to save this excel file in my project but iam helpless pls suggest me how it will save without any location
I didn't get what you exactly want to say.When an excel file is opened, then you can save it at your disk.You can not modify and save the same file.You have to go for saveas option.
Actually whenever you click on the link a file is downloaded at client's system in a temporary folder.and you can not modify that file.Its read only.Cheers!!
Brij
|
|
|
|
|
Hi,
Actually, I do not understand your requirement clearly.
However, if you want to save the file without any location, you should get the file when the page is opened. Or IF you just want to get the file to your project and want to do some changes, why not get the whole project and check out the file??
|
|
|
|
|
when i run this project
one window opened the
it asked, open below file
sqlhelper.cs file
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\datalayer\SqlHelper.cs
|
|
|
|
|
senrajas wrote: when i run this project
one window opened the
it asked, open below file
sqlhelper.cs file
d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\datalayer\SqlHelper.cs
Does this anything related with ASP.NET ?Cheers !
Abhijit
Codeproject MVP
|
|
|
|
|
Go ask Umbraco at umbraco.org
Either it's a studio cache problem or it's setup, either way, go ask the guys who came up with it.
|
|
|
|
|
Hi i have a major problem in nettier framwork......
this is my find method..
TList<ContactDatabase.Domain.Contacts> contacts = ContactDatabase.Domain.Contacts.Find(string.Format("Email = '{0}'", Emailaddress.text));
if (contacts.Count > 0)
{
}
this will nt work if the domain of email has word called "Email"..for example if i search adeam@ozemail.com.au it wont detect from
my database.but it works all other emails like these...abla.smrh@bigpond.com.au,aditya@gmail.com,atsnel@yahoo.com.au
can u please give me a solution...
regards
|
|
|
|
|
Hi
I would like to know how to construct a query string with JavaScript and to then be able to access the passed values in the code behind. Can someone show me how?
Thanks
|
|
|
|
|
AndyASPVB wrote: how to construct a query string with JavaScript
What does it mean?
Yes, if are able to create the string, you can save the string in server side hidden field and then can access it from codebehind.Cheers !
Abhijit
Codeproject MVP
|
|
|
|
|
Hi,
You can try this:
function QueryString(qs)
{
s = location.href;
s = s.replace("?","?&").split("&");
re = "";
for(i=1;i<s.length;i++)
{
if(s[i].indexOf(qs+"=")==0)
{
re = s[i].replace(qs+"=","");
}
}
return re;
}
then you can do sth to access the pass to anywhere.
modified 27-May-14 4:49am.
|
|
|
|
|
A similar thing is done in XMLHttpRequest...GET method to be more specific!
create a URL with query stings and call it. Access the querystrings using Request.QueryString["QSName"]
|
|
|
|
|
Hi
I am almost there, but I am getting a problem with multiple postbacks. You see, I need to have my javascript function on an asp:panel scrollbar, and in my js, I wrote this:
function scrollPos(position)
{
window.location.href="default.aspx?scrollPos="+position.scrollTop;
}
When I move the scrollbar, the page constantly posts back in an uncontrollable manner, flickering away! How do I stop this, so it is smooth and the page is workable?
|
|
|
|
|
|
Hi
I have already looked at the maintain scroll bar position and this only works on the browser scroll bar and not on asp:panel. Plus I actually have a number of panels which could all be in different positions, which is why I need to use JS and query strings
|
|
|
|
|
Sorry, but just to add, my web page refreshes every few minutes. Therefore, is it possible to have the query string parameters attached to the url then when the page is posted back?
|
|
|
|
|
Hello -
I want to change the forecolor of a label in a gridview I have, depending on the text in that label.
I can't access the label by the ID in the code-behind to get the properties.
The label is part of templatefield:
<div>
<asp:Label ID="lblFirstName" runat="server" Text='<%#Server.HtmlEncode(Eval("FirstName").ToString())%>'></asp:Label>
</div>
Thx, Lazialemodified on Monday, March 15, 2010 3:54 PM
|
|
|
|
|
You wont get the label just by ID.To change the color, Just find the label in RowDataBound event of gridview and change the style there.
Find the label as
Label lblFirstName= (Label)e.Item.FindControl("lblFirstName");
put this RowDataBound event and modify the style as per your requirement.Cheers!!
Brij
modified on Tuesday, March 16, 2010 12:54 AM
|
|
|
|
|
can you give me some example how I can do ItemDataBound event?
Thanks for your help
|
|
|
|
|
laziale wrote: can you give me some example how I can do ItemDataBound event?
I guess this should be RowDataBound . Not ItemDataBound !
Please check the answer that I have posted.
Thanks !Cheers !
Abhijit
Codeproject MVP
|
|
|
|