|
Sorry. the problem is when I mention ASP or Vb 6 I am not getting ans yaar.
Thats why. pls. sorry.
Thanks,
Aleem
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
i want to dock some panels in asp.net like in vc# but the problem is that its not working as i want
here is the code
<a*sp:cont*ent>
<tab*le>
<tr*>
<t*d>
<t*d>
css
body {
text-align: center;
}
this code works fine as i want(draw a table of 2 columns in the center of page) but not actually.
if i write
<td style="width: 100%; background-color: black"></td>
the column get full wide and out of table width 800px
however that column width must be 600px
like docking in VC#, if we set a Left dock to a panel and a Fill dock to another then that panel got fit in parent control but in this its out of parent
any idea ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
whats wrong with this, its executing the code. Even i put * in every element
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Dear Sir and Madam
When my user logged in, I set Session["user"] = UserID.
How to allow only user who logged in download files. (for example: setup.exe, demo.zip)?
Sorry for bad English
Thank You.
|
|
|
|
|
|
You surely need to buy a ASP.Net book.
In between, check the value of Session["user"]. If it is not null, allow the download else ask him to get out
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", "attachment;filename=" + fileName);
System.IO.FileStream sourceFile = new System.IO.FileStream(path, System.IO.FileMode.Open);
long FileSize = sourceFile.Length;
byte[] content = new byte[(int)FileSize];
sourceFile.Read(content, 0, (int)sourceFile.Length);
sourceFile.Close();
Response.BinaryWrite(content);
Response.End();
|
|
|
|
|
Hi guys
Need advise, I created a Gridview with a in it.
I can bind the value inside but however when i need compare if the input type button should be checked. I face the problem.
I can't seem to set the radio button to checked after i compare with some validation ::
foreach (GridViewRow row in GridView1.Rows)
{
if (row.Cells[1].Text == "Brandon Tan")
{
((RadioButton)row.FindControl("gvradio1")).Checked = true
}
}
KaKaShi HaTaKe
|
|
|
|
|
you need to replace your html radio button with asp radio button
<asp:RadioButton ID="gvradio1" runat="server" />
|
|
|
|
|
but in these case the radio button will allow mutiple check but i need to restrict to select one only.
KaKaShi HaTaKe
|
|
|
|
|
Try setting
<input type="Radio" name="gvradio" id="gvradio1" runat=server> ;
|
|
|
|
|
Hai,
I am using Master Pages and content Pages to design my website. Inside the content Page i have Form with textboxes. To validate the text boxes in client side, I am using Jscript. But when controls are placed inside the content page the Id of the controls are changed as follows "txtPwd" to "ctl00_CPH_txtPwd".Due to this i can't able to access the controls in client side. I am inneed of an immediate solution to solve this problem.
Can you help me in solving this issue.Thanks in advance.
|
|
|
|
|
Can you use validation controls, for validations.
|
|
|
|
|
|
Thank you SeMartens for your immediate response,I would be more useful. If you provide a simple sample about how to access the controls in client side.
|
|
|
|
|
How do you attach the validation to the controls? If you have sth like a client-side event attached to the controls you can do sth like this:
ASP-Code
myTextbox.Attributes("onclick", "javascript:validateTextbox('" + myTextbox.ClientID + "')");
and the javascript will look like this:
validateTextbox(clientID) {
var control = document.getElementByID(clientID);
}
|
|
|
|
|
you can either read it this way
document.getElementById("<%=Button1.ClientID%>")
or
set the master page id in page load of master page like this
this.ID = "MyID";
then your control id will be
MyID_contentplaceholderid_controlid
also keep in mind that clientid wont work in js files
|
|
|
|
|
Use
document.getElementById ("<%=TextBox1.ClientId%>").value
|
|
|
|
|
How can I move between asp pages and change the first page?
|
|
|
|
|
This place is like a sheltered workshop.
What the hell do you mean by 'move between'. Do you mean Response.Redirect ? Why are you asking questions when you plainly have not done ANYTHING to learn ASP.NET, assuming that's what you mean when you say ASP. Buy yourself a book.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Christian Graus wrote: This place is like a sheltered workshop.
It is getting worse day by day.
BTW, happy to see you back in action
|
|
|
|
|
I hav Created Custom control using AJAX Calender and Textbox.Class Inherits Webcontrol .I am not able to Call TextChanged Event of Textbox. If any body Knows answer Plz Help.
|
|
|
|
|
What do you mean, you can't 'call' an 'event' ? The answer is that you should read the guide to asking good questions, and consider why it is that you expect us to be able to help based on the lack of information you've provided.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi There,
I had generated tree by using XMLData Source.When I try to fire Menu Click event it is not get fired.Whats the problem can anybody please tell me.
Thanks.
|
|
|
|