|
What you tried with WIzard control and what error it shows while using this wizard control.
Pls be specific here while posting the question so that only we can help you in solving the problem.
Regards,
Satips.
|
|
|
|
|
hi sorry for not giving the details.......
i am using a Wizard control in master page, I use this.ID = "Master1";
in order to avoid the problem of displaying Menu control in the master.
if i use this.ID = "Master1" in my master page my wizard is not navigating....
Any Solution.........
|
|
|
|
|
HI ALL,
CAN ANY ONE TELL ME WAT R THE WAYS TO CONVERT AN HTML PAGE INTO .ASPX PAGE.
LET ME EXPALIN IN DETAIL....
OUR WEBDESINGNER HAS DESIGNED A PAGE,HE HAS SLICED THE PAGE AND GAVE ME IT IN HTML FORMAT...
NOW I WANT TO CONVERT THAT PAGE INTO .ASPX PAGE .PLS TELL ME WAT R THE EASY WAYS TO CONVERT THEM INTO DOTNET PAGES...SO THAT THE ALIGNMENT DOESNOT CHANGE.AND FIT INTO ANY MONITER...
ITS VERY URGENT..PLS GIVE ARTICLES AND SUGGESTIONS...
THANKS IN ADVANCE.
BINO VARGHESE.V
|
|
|
|
|
What you can do is to paste the html content in the design part of the aspx page and then change all the controls whichever is required to server controls and after that you can add functionality to the page.
Is there any specific reason for writing the complete message in capital letters?
Best Regards,
Apurva Kaushal
|
|
|
|
|
Thanx Apurva 4 ur reply.
Is there any specific reason for writing the complete message in capital letters?
--Just to get ur attention .nthg much..
me problem with pasting in aspx page is that,the alignment is getting changed..
how can I do it without altering the page design.
|
|
|
|
|
BINO VARGHESE wrote: me problem with pasting in aspx page is that,the alignment is getting changed..
how can I do it without altering the page design.
I don't think that alignment will change are pasting the html code one after one, if so inspite of that you can paste the complete code at a time and then replace the controls with the server controls.
BINO VARGHESE wrote: --Just to get ur attention .nthg much..
BTW It looks better in in normal case.
Best Regards,
Apurva Kaushal
|
|
|
|
|
I have an HTML page having lot of images and text. I want to create an .aspx page having the same interface so i copy pasted the same html code on an .aspx pagein the ASP.Net application.Then i tried putting a dropdownlist and textbox controls on the page but it,s not giving me textbox nor dropdownlist. I am getting a multiline textbox with scrollbars. i have checked the properties...all fine but just dnt knw wats wrong. i have also used runat="server"
Wat should i do wen i paste HTML code?
Riz
|
|
|
|
|
Are you getting any error for that or simply it is not getting displayed?
Best Regards,
Apurva Kaushal
|
|
|
|
|
No error....it is simply not getting displayed properly.
|
|
|
|
|
There can be no reason that if everything is placed properly it will not be displayed. Check whether they are in proper tag or you have given all the required attributes properly.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi
first Create a new aspx page and then copy your HTML Code only in between <body></body> tags and paste it inbetween aspx page <body></body>.
i hope it solves your problem.
|
|
|
|
|
check the SelectionMode Property of TextBox
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
How do I stop the postback from a asp button? I want to do some validation on
the client side when a button is pressed and decide whether to post back to
the server or not.
Thanks
Hari
|
|
|
|
|
Hi Hari
you can do this by adding small attribute(JavaScript function) to Button.
on form load event of code behind file
<Your Button Name>.Attributes.Add("OnClick", "return confirm('Continue?');");
or
<asp:Button ID="btnSample" runat="server" Text="View Detail"
OnClientClick="return confirm('Continue?');" />
hope this Help
Thanks..
|
|
|
|
|
Hi TRK@UK,
Thanks for the response, this is working fine as expected.
I tried something more...
In Page Load
--
Object objAjax = Request.QueryString["from"];
if (objAjax != null)
{
Response.Clear();
Response.Write("1");
Response.End();
}
Button1.Attributes.Add("OnClick", " var finalval = chkText(); if(finalval == false){return false;}");
---
<script language="javascript" type="text/javascript">
var XmlHttp;
function chkText()
{
try
{
XmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e)
{
try
{
XmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
catch(e1)
{
XmlHttp = null;
}
}
if(!XmlHttp && typeof XMLHttpRequest != "undefined")
{
XmlHttp = new XMLHttpRequest();
}
if(XmlHttp)
{
try
{
XmlHttp.onreadystatechange = HandleResponse;
XmlHttp.open("POST", "CallingServerFunctionUsingAjax.aspx?from=Ajax",true);
XmlHttp.send(null);
if(XmlHttp.readyState==1)
{
return false;
}
}
catch(e2)
{
alert(e2);
}
}
}
function HandleResponse()
{
try
{
if(XmlHttp.readyState == 4)
{
if(XmlHttp.status == 200)
{
var retval=XmlHttp.responseText;
switch(retval)
{
case "1":
return false;
break;
default:
break;
}
}
else
{
alert("Problem with saving data");
}
}
}
catch(e)
{
alert("Error");
}
}
</script>
But the function chkText() is not acepting the return value....
What is the problem.........
Thanks
Hari
|
|
|
|
|
Alternatively, if you're using 2.0, the buttons expose an OnClientClick attribute which fires (on the client side obviusly, so you'll need to give it a javascript function) before OnClick...to stop OnClick, return false from OnClientClick
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi RichardGrimmer,
Great.It did the trick...
Thanks for the reply...
Thanks
Hari
|
|
|
|
|
I have a repeater displaying repeated rows, trying to figure a way to keep the first appearence and remove the next but it is not working
how can i detect a first ocurrence of a record and add a e.Item.visible = false here?
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
if (Convert.ToString(((Label)e.Item.FindControl("itemselected")).Text) != "")
{
((CheckBox)e.Item.FindControl("selectitem")).Checked = true;
}
//fstk.STOCK_ID as fsselected
if (Convert.ToString(((Label)e.Item.FindControl("fsselected")).Text) != "")
{
((CheckBox)e.Item.FindControl("selectitem")).Checked = true;
((CheckBox)e.Item.FindControl("selectitem")).Enabled = false;
}
|
|
|
|
|
Hi Techies !
Ive got a modal popup window opening through a link on my page.
I need to find which page is opening the popup window at runtime.
Javascript gives the required value through window.dialogArguments.location.href
but i wana do this through my C# code.
can someone plz guide ?
Marching towards Geek-Age !
- Prasadd
|
|
|
|
|
How to apply styles to ajax tab control.
vijaykrishna v
|
|
|
|
|
|
Hi
Installing Ajax toolkit itself not enough to see Controls on your IDE.
To See Ajax Toolkit in your ToolBox Rightclick on toolbox and chooseItems then Browse add
Reference to "AjaxControlToolkit.dll"
This DLL Avilable @ \SampleWebSite\Bin\AjaxControlToolkit.dll
you will see all Ajax cotrols in your toolbox.Drag n drop controls you wish to use.
|
|
|
|
|
i seem to have a problem it keep saying it need atag called asp:scriptmanager
however when i try to add it in the page dont regconize it
<asp:ScriptManager runat="Server" EnableScriptGlobalization="true" EnableScriptLocalization="true" /
|
|
|
|
|
Hi
Try this
place "ScriptManager" Tag after the 'Form' tag(First Control to Appear in Form).
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<table>
<tr>
<td align="left">
<asp:TextBox ID="txtSeatSince" runat="server" Width="96px" Enabled="false" ></asp:TextBox>
<ajaxToolkit:CalendarExtender Format="dd/MM/yyyy" ID="CalendarExtender1"
runat="server" TargetControlID="txtSeatSince">
</ajaxToolkit:CalendarExtender>
</td>
</tr>
</table>
</div>
</form>
thanks
|
|
|
|
|
Hello Friends,
I am facing an parser error
Parser Error Message: The type initializer for 'System.Drawing.ToolboxBitmapAttribute' threw an exception
Please provide me any sollution why this error their.
On local mine project is working fine but on server it is generating this error.
Please help
Regards,
rahul saini
|
|
|
|