|
I'm getting shaking effect with this code using "Shake"
function but not getting Pulsate effect using "Pulsate" effect.
Please guide.
code snippet is as follows :
function pageLoaded()
{
if (document.getElementById('<%=Shake.ClientID%>').value == "true")
{
Effect.Pulsate('<%=pnlShop.ClientID%>');
//Effect.Shake('<%=pnlShop.ClientID%>');
document.getElementById('<%=Shake.ClientID%>').value=="";
}
}
Thank you.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
How to change the calender in year wise....For example if April 2007 is there in title of calender, i want to cahnge it as in year wise i.e. April 2006, April 2005 ................
With Regards,
Samson
|
|
|
|
|
Do u want the year scroll in calender??? If that is the problem then use this:
Take 2 link buttons << and >> and write this code:
private void linkbtnNextYear_Click(object sender, System.EventArgs e)
{
calDate.SelectedDate = calDate.SelectedDate.AddYears(1);
calDate.VisibleDate = calDate.SelectedDate;
}
private void linkbtnPreYear_Click(object sender, System.EventArgs e)
{
calDate.SelectedDate = calDate.SelectedDate.AddYears(-1);
calDate.VisibleDate = calDate.SelectedDate;
}
Hope this helps u...
|
|
|
|
|
hi guys how to i get the data of the selected datagrid infomation example:
name age type sex
a 11 h m
b 22 a m
c 33 q m
for example row 2 is selected and i wanna put the type into variable stype.
and the datakeyname is name.
how would i select it in the coding side of the asp.net2 (c#)
|
|
|
|
|
it depends on the way you bind, are you using any bound columns or are you binding the data automatically?
you should have atleast one column which is of primary key type so using that column value you do your procesing accordingly
Gautham
|
|
|
|
|
Hi All,
I need to implement image caputing from the device connected to the PC. I need to activate that device using .net . How do i go about it? And can you please refer me some very good image capturing tools, Barcode generation & reading tools.Please help me out.
You never win the Silver, you only lose the Gold!!!
|
|
|
|
|
HI All,
I have a requirement where I need to select first N rows from DataView.
So how could i achieve this?
Thanks,
Rachit Damani.
|
|
|
|
|
use SELECT TOP N...
<< >>
|
|
|
|
|
Thanks for your reply
but how i could use select query in dataview?
i don't need to select top N rows when i am fetching the data from the database but at some point of time i need to select top N rows from dataview which contains all the data.
so is it possible to use select query in dataview?
Thanks,
Rachit Damani.
|
|
|
|
|
for this...you can loop thru the dataview to get the top n records
Or better: Add a column on the datatable, set it's autoincrement value, include it in
the rowfilter for the dataview
Hope you get the idea
<< >>
|
|
|
|
|
ya thanks,
now i have understood what i need to do
thanks a lot
Rachit Damani.
|
|
|
|
|
Hi,
How could I add an item to asp:listbox in clientside using javascript.
Thanks in advance.
Be simple and Be sample.
|
|
|
|
|
<code>
<body>
<form id="form1" runat="server">
<asp:ListBox ID="ListBox1" runat="server"></asp:ListBox>
</form>
<script>
var listBox = document.getElementById( '<%= ListBox1.ClientID %>' );
alert(listBox.length);
listBox.options[0] = new Option("Hello");
alert(listBox.length);
</script>
</body>
</code>
Like this.......
Note that there is no ADD item as such that work cross browser, you have to get the number of items currently there and then add new ones by changing the index (the options[indexnumber] above).
Mark.
|
|
|
|
|
Hi,
I have a frameset(in default.aspx) with two vertical panes. In the left pane i have added "default1.aspx" and in the right pane i have added "default2.aspx". It works fine with the following code..
<frameset cols="*,*" frameborder="NO" border="0" framespacing="0">
<frame src="default1.aspx" name="leftFrame" scrolling="no" style="border:1px solid #99ABBD" >
<frame src="default2.aspx" name="rightFrame" scrolling="no" style="border:1px solid #99ABBD" >
</frameset>
I was trying to close the window(frameset) with the following code
Window.close();
But it doesn't works, can anyone tell me how to close a window(with frameset) programatically.
Thanking you
Sebastian
|
|
|
|
|
Hi,
First of all, JavaScript is case sensitive, therefore - window.close();
Second, you can close only the window you opened from the code. Otherwise, you will be asked to confirm the action (IE) or will be ignored (FF 2.0). There is a trick to avoid the confimation in IE:
...
window.opener = self;
window.close();
but it seems to me that in IE 7.0 it does not work anymore (not sure).
If you are in a frame you can refer to the topmost window (the window that contains the frameset) via top property:
window.top.close();
|
|
|
|
|
i'm planning to make a .net roadmap for my new comming employees.
i know it's too broad to start and this is why i need help.
i wanna make a roadmap that can be used for people are frosh in this industry.
i havn't started yet, but probably it will have to contain what courses to take, what catagories should be educated, what concept to understand,,,etc.
does any one has any kind of resources, documents, or references??
please let me know...it will be helpful.
thanks.
|
|
|
|
|
I want to count current use online with asp, please help me.
Thanks
................
|
|
|
|
|
just give my idea..as i am not familiar with asp
- store the counter in application variable
- increasing the counter when an user log into your site
<< >>
|
|
|
|
|
In Global.asax File.
void Application_Start(object sender, EventArgs e)
{
Application["UserCount"] = Application["UserCount"] + 1;
}
In home.aspx File.
page load event
Response.Write("Application["UserCount"]");
Pavan Pareta
|
|
|
|
|
I have problem with input data into ASP.NET application.
I found mask control only for Windows form but I did not find anything for ASP.Net.
Maybe somebody can help me.
Thank you.
LL
|
|
|
|
|
try this... htis one masks the time..
Mask control
you may also use the AJAX ASP.net control toolkit...
hope it helps..
Kunal
|
|
|
|
|
hi guys i would like to learn how to retrive data from sql database and stored in multiple variables.
so far i learned executescaler which retrieve the 1st row,1st col data and store it in the specified variable.
so how can i select multiple row,col and store them?
i understand some of the steps are :
SqlConnection conn = new SqlConnection((ConfigurationManager.ConnectionStrings["HASDBConnectionString1"]).ToString());
SqlCommand sc = new SqlCommand("SELECT Name,age,add FROM STUDENT", conn);
sc.ExecuteNonQuery();
................<== from here on in i dont know
please guild me in my learning tour thx
|
|
|
|
|
It would not be an ExecuteNonQuery, that is more for update or insert statements, a command that does not return data.
Try reseaching the ExecuteReader method
only two letters away from being an asset
|
|
|
|
|
<asp:Label ID="Label2" runat="server"<br />
BorderStyle="None" Width="80px"<br />
Text="date:" /><br />
<asp:TextBox ID="txtdate" runat="server" /><br />
<br />
<asp:RequiredFieldValidator<br />
ID="RequiredFieldValidator2" runat="server"<br />
ControlToValidate="txtdate"<br />
ErrorMessage="Required." /><br />
<br />
the above code is field validator.
is there a function to make sure the entered date is today and days after?(any time after today)
|
|
|
|
|
Try with Javascript for the Date Validation.
Regards,
Satips.
|
|
|
|