|
In 1.1, it's a property of the form.
|
|
|
|
|
hi friends.........
can anybody help me
my page taking longtime to postback in the meantime i want to display an Hourglass(waiting cursor)..
pls give me some idea
thnx in advance
|
|
|
|
|
An hourglass is not a solution. You may want to find out why your postbacks are taking so long.
|
|
|
|
|
Hi,
I have an web application in VS2005. A fraction of this application requires to upload
pdf, jpg, gif files and retrieving it.
These types of files are uploaded from the same browse button which convert this file into byte[]
array and goes in sql server in a field having datatype varbinary.
Now i am facing the problems to displaying these files on aspx pages or you can say
converting from byte[] array.
If you dont know exactly or you know a bit, then also you are
most welcomed.
Thanks.
Regards,
Varun
|
|
|
|
|
Search articles on this site, there are plenty of examples, you just have to give a little effort.
only two letters away from being an asset
|
|
|
|
|
That's an understatement.
|
|
|
|
|
Hai,
My web page contains large data.so it takes more time to load.I want to display an message to user.ie)Please wait page is loading.....with one GIF image.I want to show this image for each time when the page is loading.
Thanks............
Thanks in Advance
|
|
|
|
|
instead of progress, just use the new SQL Server-type gif.
You may want to consider revising you app if it takes that long to load.
|
|
|
|
|
i want a checkbox in the header column, while checking the check box all rows are selected, by the same deselection also,
without postback of the page
please guide me
-
|
|
|
|
|
put the following script in <head> tag
<script language="javascript">
function CheckAllDataGridCheckBoxes(aspCheckBoxID, checkVal)
{
re = new RegExp(':' + aspCheckBoxID + '$') //generated control name starts with a colon
for(i = 0; i < document.forms[0].elements.length; i++)
{
elm = document.forms[0].elements[i]
if (elm.type == 'checkbox')
{
if (re.test(elm.name))
{
elm.checked = checkVal
}
}
}
}
</script>
THEN UNDER THE <COLUMNS> OF THE DATAGRID , PUT THIS :
<asp:TemplateColumn>
<HeaderTemplate>
<INPUT id="chkAllItems" onclick="CheckAllDataGridCheckBoxes('chkDeleteUser',document.forms[0].chkAllItems.checked)" type="checkbox">
</HeaderTemplate>
<ItemTemplate>
<asp:CheckBox id="chkDeleteUser" runat="server"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
|
|
|
|
|
hi,
I have to take print out of only one page and want to hard code it in Javascript function printWindow.print();
I dont want user to select RadioButton for "Number Of Pages to be printed" in Windows Print Dialogue box.
Even if RadioButton for "All" is selected by default,only single page should be printed. I want to do this using printWindow.print(), Whether I have to give any argument in print().
Please guide.
Thank you.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
using javascript, i have to populate a dropdownlist text and its values.
for that i am getting name and its values in two variables namely "name" and "id".
the ddl text is populated using this code,
document.Auto.ddlComp.options[i] = new Option(name); // working fine
but to populate its correspoding values for text i used,
// document.Auto.ddlComp.options[i].value = new Option(id);
its not working. please tell me how to populate the corresponding ddl values to its text.
Regards,
abul.
hello
|
|
|
|
|
if memory serves, you can do it when creating the option item:
new Option(text,value,defaultSelected,selected);
|
|
|
|
|
|
Hello,
I'm learning ASP.NET 2.0 in order to build an e-commerce website.
I'm confused as to how product attributes in an online store are handled in the SQL database; I have been poring over a number of ASP.NET 2.0 books in search of an answer, but to no avail.
For example, this link to a shoe on the LLbean website (http://tinyurl.com/y6cs4l) shows three pull-down menus on the right column, under "Step 2: Select Options": Width, Shoe Size, and Color/Style. Each pull-down menu contains a number of product attributes, so that the customer can order a shoe in "Medium D, Size 9, Ash Bark" or some other color and size combo. Up one level, on the page that displays all the hiking shoes in this product group (http://tinyurl.com/y8hw59), these options don't appear. Each shoe appears only once as a thumbnail image, and the color and size options only appear when teh product detail page for each shoe is opened.
I am building a similar sort of product database, containing many items that have multiple sizes, colors, and attributes. Each product size and color variation has its own SKU (product code #). However, this means that on my product display pages, each size and color option for a product appears seperately, which clutteres the page and looks unprofessional. That is, one will see thumbnails of a certain product appear in size 7, size 8, size 9, etc., instead of just appearing once with the attributes accessable only on the product detail page, collapsed into the pull-down
menus.
I am not sure how to structure the database to achieve this, and would be grateful for any suggestions. My SQL database now has columns for size and color, but this means that each color and size option has its own row in the database, and its own SKU.
Please forgive the long post, I wanted to explain clearly...
Thank you!
|
|
|
|
|
Product Table
ID - Name - Description - Image - etc...
1 - Shoe - Nice, Sensible, comfortable - etc...
SKUTable
ID - ProductID - Description
1 - 1 - Medium D, Size 9
2 - 1 - Large E, Size 12
List SKUs - Select * from SKUTable where ProductID = 1
only two letters away from being an asset
|
|
|
|
|
Aha - so the SKUs are broken out into a seperate table - outstanding. This is an enormous help, I think you have solved my problem.
Thanks very much!
|
|
|
|
|
A project of this magnatude may be above beginner level if this is going to be in production.
|
|
|
|
|
You are probably correct, but fortunately 90% of the structure has already been built, and I am renovating it and adding data. One thing the previous builders did not do was break out SKUs onto a new table, as above.
Thanks.
|
|
|
|
|
Hi,
I have a question related to the body onload event. In the absence of Atlas this event is fired everytime the page refreshes. I have code in the onload event that needs to execute everytime there is even a small change to the client. When using onload with Atlas, I find that it fires the first time the page loads, but not everytime the page refreshes. Which other event can I use to execute code everytime there is even a small change to the page?
Thanks.
-Shefali
|
|
|
|
|
hi all,
what is the difference b/w Usercontrols & masterpages (dotnet 2.0 new control)?
Thanks,
Rahi
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
|
thanks for the response. actually i know the concepts. but i didn't understand why microsoft introduced these master pages over Usercontrols?. we can achieve the master pages concept using usercontrols (as per my knowledge. sorry if i am worng)
If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Re-read the documents. They are different technologies serving different purposes.
Master pages provide functionality that developers have traditionally created by copying existing code, text, and control elements repeatedly; using framesets; using include files for common elements; using ASP.NET user controls; and so on. Advantages of master pages include the following:...
only two letters away from being an asset
|
|
|
|
|
They are 2 completely different paradigms. Check the documents again.
|
|
|
|