|
Hi Imran,
Thanks for your help.........But it is not working in mozilla.....
Thanking you
Mcmilan.
|
|
|
|
|
|
i want to download from my database a field named as text and it contains a text i want to let users to dl with prefix .pdf
Nika Asgari
|
|
|
|
|
Hi All,,,
I am implementing Ajax in my project......I am using Ajax CalendarControl.
It is working fine...When I select the date from Ajax Calendar it is displaying in TextBox..But the problem is I am unable to access the TextBox value to the next page when I click the Button.
I want to use that TextBox date in next page.....
If I use normal asp.net calendar control then I am able to put the textbox value(date) in session and access in next page .....
I tried with sessions, Request.form(crosspage submission)....But no use...
Please help me to fix this problem....
Thank you,
Mcmilan.
|
|
|
|
|
mcmilan wrote: I tried with sessions, Request.form(crosspage submission)....But no use...
Please help me to fix this problem....
Post you code
please don't forget to vote on the post that helped you.
|
|
|
|
|
Hai All
I have developed a master page with menu on left hand side.when I click the menu it collapses,
and expands.I am not able to fix the size of the <td> element which has the menu. whenever I click the menu the height is decreasing...the height of the menu should be the height of the screen and it should be the same in all the screen resolutions,how can this be done..
|
|
|
|
|
kantipudi wrote: which has the menu.
is that an asp.net control menu or your own custom one?
|
|
|
|
|
Hey Guys
I need to integrate different IM like Windows Live, Yahoo, Google and AOL. By integration I mean, we can store conversation between users, invite users from code.
Please let me know if im missing something to explain it in more details.
|
|
|
|
|
I am creating a 5 star rating control. For this I have created a user control with the Callback functionality. When I implement the usercontrol on an aspx page, I want that the label control to populate the value of the image that was clicked. But, when I debug my application, it shows that the label control has the value and it does not show on the page. Following is the code I am using for the User Control:
public event System.Web.UI.WebControls.CommandEventHandler Rater;
protected void Page_Load(object sender, EventArgs e)
{
sCallBackFunctionInvocation = Page.ClientScript.GetCallbackEventReference(this, "message", "ShowSuccess",
"context");
String callbackScript;
callbackScript = "function CallServer(message, context)" +
"{ " + sCallBackFunctionInvocation + ";}";
Page.ClientScript.RegisterClientScriptBlock(this.GetType(),
"CallServer", callbackScript, true);
}
public void RaiseCallbackEvent(string eventArgument)
{
if (hdn.Value.ToString() == "" && (eventArgument == "0" || eventArgument == string.Empty))
{
returnValue = "0";
totChecked = returnValue;
hdn.Value = returnValue;
}
else
{
returnValue = eventArgument;
hdn.Value = returnValue;
totChecked = returnValue;
CommandEventArgs args = new CommandEventArgs("Rated", hdn.Value.ToString());
Rater(this, args);
}
}
public string GetCallbackResult()
{
return returnValue;
}
The following code is used for aspx page
protected void Page_Load(object sender, EventArgs e)
{
rc1.Rater += new CommandEventHandler(rc_Rater);
}
private void rc_Rater(object sender, CommandEventArgs e)
{
RatingControl rc = new RatingControl();
lbl.Text = e.CommandArgument.ToString();
}
-----Have A Nice Day-----
|
|
|
|
|
I used querystring to show products and productsdetails in my site.but I don't know what code should I write in codebehind for security.I don't want to encoding .but where a user delete the value of querystring and press enter, I want to show the right page .what code should T write(asp.net whit C#)
|
|
|
|
|
bbc_sh wrote: I used querystring to show products and productsdetails in my site.but I don't know what code should I write in codebehind for security.I don't want to encoding .but where a user delete the value of querystring and press enter, I want to show the right page .what code should T write(asp.net whit C#)
if (ViewState["key"] == null)
{
ViewState["key"] = Request.QueryString["myID"];
}
if (ViewState["key"].ToString() != Request.QueryString["myID"])
{
}
regard
kHan
please don't forget to vote on the post that helped you.
|
|
|
|
|
how can I take viewstate?
what is viewstate?
|
|
|
|
|
bbc_sh wrote: how can I take viewstate?
what?
bbc_sh wrote: what is viewstate?
http://msdn.microsoft.com/en-us/library/ms972976.aspx
|
|
|
|
|
Hi all
ANy body can help me plz with a javascript that presses right ALT + Right shift when choosing a seleclted value from a drop downlist
thanks
|
|
|
|
|
you want a javascript function which performs the action of ALT + right shift?
|
|
|
|
|
Yes this is exactly what i want. Is this possible?
|
|
|
|
|
samerh wrote: Is this possible?
Yes.
Try this script.
This example gives you an alert when you press shift + alt + .(dot) keys
var isAlt = false;
var isShift=false;
function cntrKey(e)
{
if(e.keyCode == 18)
isAlt=false;
if(e.keyCode == 16)
isShift=false;
}
function othrKey(e)
{
if(e.keyCode == 18)
isAlt=true;
if(e.keyCode == 16)
isShift=true;
if(e.keyCode == 190 && isAlt == true && isShift==true)
{
alert('Shift + Alt + . ');
return false;
}
}
Call this script on body tag
body onkeyup="cntrKey(event);" onkeydown="othrKey(event);"
regard
khan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Lets suppose this script checks if ALT +Shift key is pressed, then
1- how can i change the language from English (RTL) to Arabic (LTR).
2- Does it differ if u press right(ALT +Shift) or Left(ALT +Shift )
thanks
|
|
|
|
|
Hi my dataset having multiple datatable...,
I dont know how many datatables its having...,
Now all the tables i want to bind it in different different excel file how to do that?,
Plz help me
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
modified on Tuesday, July 15, 2008 8:33 AM
|
|
|
|
|
Hi,
In one of the tasks, we are using sqlbulkcopy class of .net with three parameters - source db info, destination db info, query to be used to transfer data.
We are trying to see if we can get a count of the number of rows that are actually transmitted by the above command. Is there any way to do that? sqlbulkcopy class does not seem to have any attribute that would give this information. Is there any direct or indirect way?
Thanks in advance
sb
|
|
|
|
|
|
Hello Friends,
I am developing an application in ASP.Net with VB.
I am adding some checkboxes at runtime like this:
<input type=checkbox id=" + SomeRandomString + "/>"
So, on some button click event, how can i know that which checkboxes are checked, i want this for further evaluation.
Please somebody help me.
Thanks and Regards,
Nagendra.
|
|
|
|
|
You need to loop through all the controls on the web page and if you find the control is of type 'checkbox', then check for its Checkbox.Checked property.
Hope this helps.
|
|
|
|
|
nagendrathecoder wrote: "
how is that adding at runtime?
nagendrathecoder wrote: So, on some button click event, how can i know that which checkboxes are checked, i want this for further evaluation.
if you are creating the control at runtime just find the control in the event using FindControl and go from there
|
|
|
|
|
I used your method but not getting control of type CheckBox?????
|
|
|
|