|
Let me get this straight. You want to display the para first and then the pictures to upload?
Prateek
|
|
|
|
|
|
Sorry for not replying sooner. After doing some research, I found out that when you send a request, the browser first loads up all of the main web pages e.g. main.aspx, default.aspx, etc. and then gets the other resources e.g. javascript files, images, etc.
So the answer to your question is that the browser handles how the files are loaded and you really can't change the way the files are displayed.
I apologize if this wasn't helpful,
Prateek
p.s. oh yeah, if you like to see how the web request work, i would download Live HTTP Headers for Firefox.
|
|
|
|
|
actually...can you show your code. Something occurred to me and it might have something to do with how you have arranged your code. If you are loading the pictures before getting the file with the para, that might be why your pictures are loading before the para.
Prateek
|
|
|
|
|
function TextBoxSelect()
{
var a = document.form1.CheckBox1.checked;
alert(a);
var aa = document.form1.<%=CheckBox1.ClientID%>;
alert(aa);
var txt = document.form1.TextBox1.value;
alert(txt);
if(a == "False")
{
document.form1.CheckBox1.disabled = false;
}
if (txt != "")
{
alert("coming");
aa.disabled = true;
alert("success");
//document.form1.CheckBox1.disabled = true;
}
else
{
alert("safd");
document.form1.CheckBox1.disabled = false;
}
}
|
|
|
|
|
javascript - checkbox should be enable when input given in the textbox but while page load checkbox is disable
k.sampath kumar
|
|
|
|
|
|
java script checkbox
k.sampath kumar
|
|
|
|
|
What is reason of posting same message multiple time ? Or you want increase number of count in this way . If yes then its wrong forum for you !!!!
|
|
|
|
|
Whats the Problem u r facing ???
|
|
|
|
|
check box is not enable - tat is the problem we r facing
|
|
|
|
|
Hi! I guess this is quite simple for some of you guys out there, but I am stuck whole morning with this issue. I do have a gridview control, and I have a button which will select the row where the checkbox is existing. After the gridview is selected, when the button is selected I want to put all the data in a strings, and play with that. Any help? Thx ahead, Laziale
|
|
|
|
|
Can you show your piece of code?
Cheers!!
Brij
|
|
|
|
|
<asp:GridView ID="gridviewClass" runat="server" AutoGenerateColumns="False">
<Columns>
<asp:BoundField HeaderText="Class Name" DataField="Class_Name"/>
<asp:BoundField HeaderText="Type" DataField="Type" />
<asp:BoundField HeaderText="Members Attending" DataField="MembersAttending" />
<asp:BoundField HeaderText="Staff" DataField="Staff" />
<asp:BoundField HeaderText="Date/Time" DataField="DateSelected" />
<asp:BoundField HeaderText="Explanation" DataField="Explanation" />
<asp:TemplateField>
<ItemTemplate>
<asp:CheckBox runat="server" ID="checkBoxSelect" />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView> <br />
<asp:Button ID="ButtonEdit" runat="server" Text="Edit Class" />
I haven't do any coding for the ButtonEdit_Click event, cause there I am stuck and I don't know how to get the selected row with checkbox. Thx for helping me out...
|
|
|
|
|
Every Row has a checkbox Right?Can you provide your requirement in detail.
Are you hiding checkbox sometimes based on some conditions? or anything else?
Cheers!!
Brij
|
|
|
|
|
ok...here is where I am stuck now. I declared a gridviewClass.AutoGenerateSelectButton = true in the Page_Load method, now how I can get the text from each field from the selectedrow and put them in a string?
I tried with string test = ((TextBox)gridviewClass.SelectedRow.FindControl("Type")).Text; where 'Type' is the datafield what is attached to the asp:BoundField from the gridview control, but I am getting a NullReferenceException: Object reference not set to an instance of an object. Please someone out there help me. Thx ahead, Laziale
|
|
|
|
|
I solved!!!! for someone else who might get this problem:
I used this: string test = gridview1.SelectedRow.Cells[i].Text;
have a nice day!!!!
|
|
|
|
|
You might want to write it something like this
String test += gridview1.SelectedRow.Cells[i].Text;
Otherwise you will only up with the text from the last selected row.
Good job on solving the problem and thank you for solving the problem ,
Prateek
|
|
|
|
|
Hi,
I m uploading a video file and saving it in a folder .I want to create a thumbnail image of that wmv file so that I can display my videos list in a datalist control.Plz Help me to do this.
|
|
|
|
|
div_gusain wrote: .I want to create a thumbnail image of that wmv file
What does it mean ? You want to create Thumbnil image of wmv files
|
|
|
|
|
Yeah I want to create a thumbnail image by framing that video.so that I can display the videos list and Onclick of that video will be played.If u know any other option to list the videos than plz tell me.Thanx in advance!
|
|
|
|
|
There;s several samples of how to do this on CP. it has nothing to do with ASP.NET tho, it's a general C# question.
From memory the dll you import to do this is called dexter, or something like that.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Dear All,
I have an application(asp.net with Vb.net Code), where I am using a drop down list to change the language.In my page,there are 5 views(multiview concept), each view is related to the first view contents. so when i am in 3rdview or some other view other than first view,and change tha language,that particular view should be instantaneously changed without going to the first view.can you help me in solving this problem.Basically now when i Change the language, it will reload the page and first view will be shown.Hope that, there will be a early response from you.
Thanking You before Reply,
Sundeep G
|
|
|
|
|
Hi all,
How to validate the telephone number of this format
eg:123232-23131 or 2323123123 that is it may include "-" or not the telephone number should be validate.
i am using RegularExpressionValidator and
ValidationExpression="^\d*[0-9]$"
please help..
JohnDas
|
|
|
|
|
Did you try Custom Validator which is available with asp.net 2.0 ?
|
|
|
|