|
in the click for the button...
|
|
|
|
|
yes
her is som code hope u can help me
protected void btnBak_Click(object sender, EventArgs e)
{
Response.Redirect(Request.UrlReferrer);
I try this to
Response.Redirect(Request.UrlReferrer.OriginalString);
And this
Response.Redirect(Request.UrlReferrer.OriginalString);
}
but they don't work
|
|
|
|
|
The most obvious thing to do, is to do this entirely on the client side using javascript.
http://www.google.com.au/search?sourceid=navclient&ie=UTF-8&rlz=1T4ADBS_enAU225AU226&q=javascript+page+back[^]
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How can we convert rdf xml file as dataset in asp.net
thnx in advance
|
|
|
|
|
1. Convert your RDF file to XSD, e.g.: xsd <xmlinputfile>
This will create your .xsd
2. Convert the .xsd to dataset, e.g.: xsd /dataset <xsdinputfile>
This will create your dataset file (C#)
If you prefer to load your dataset from your code, that should work as well.
God bless,
Ernest Laurentin
|
|
|
|
|
I suggest to add an expander to the messages to show the initial post only and enable the reader to expand to see the whole discussion
And the expantion of one title collapses any other expanded one.
This will enable more titles to appear in the page
Cause I think nobody gives attention to pages other than the 1st page.
Mohamed Gouda
Egypt
|
|
|
|
|
You can actually post in 'Suggestions/Bug Reports' forum, which is more frequently monitored by CP Team to gather and enqueue the suggestions towards the next versions and to address the issues that have been reported thereto.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
that is a good suggestion though
|
|
|
|
|
I suggest if you have a suggestion, to use the right forum to post it.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Perhaps some CP Admin should consider moving this thread to 'Suggestions/Bug Reports' forum.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Sorry, I never noticed that there is a forum for suggestions
Thanks for well planned site
Mohamed Gouda
Egypt
|
|
|
|
|
Hi,
How to freeze multiple rows and columns in a datagrid. It should be like an excel sheet, if you scroll horizontally, columns should be frozen and if u scroll vertically, rows should be frozen.
This grid contains paging and some external filters to display the data and will be created dynamically.
Please help.
|
|
|
|
|
check this out
http://www.codeproject.com/KB/webforms/FreezePaneDatagrid.aspx
|
|
|
|
|
i hope the given solution will not work in firefox and i cannot freeze more than one rows.
Any other way please..
|
|
|
|
|
yeah google, I just typed freeze columns in datagrid into www.google.com and that article was the first one, maybe you should try searching first
|
|
|
|
|
Hi Everyone,
i need to validate a textbox which allow user to enter only 2 numbers (user must enter 2 number),and its provide user enter maximum 2 numbers,i try to use Regular expression for this bur i coudn't do this,please help me to do this.
Thanks.
|
|
|
|
|
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" ErrorMessage="Please enter a numerical value" ControlToValidate="tbtextbox" ValidationExpression="([0-9])" runat="server"></asp:RegularExpressionValidator>
then set the texbox property maxlength to 2 e.g
<asp:textbox maxlength="2"
hope this helps
|
|
|
|
|
Hi friend,
thank your prompt, but when i enter like example 14 its show error "enter the numeric value"
user shoul enter 01-99 that's my requirement,and also user must enter 2 values.
|
|
|
|
|
i think this should be ok
[0-9]{2} ?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
if you use 01-99 you will have to make sure your error message is specific as the user might not know to enter 01 instead of 1
use [0-9]{1,2} if you dont want the user to enter 01 but 1
|
|
|
|
|
this is almost fine,it should not allow user to enter only one value
if use enter "1" error should display "need to enter 2 values or somthing"
thanks.
|
|
|
|
|
When I open a document with my application it opens in a new document window. And I loose control from my web page
How do I open any document with my internet explorer.
The code is located in the page load event of myweb page as shown below:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
Dim dt as new data.datatable<br />
If Request.QueryString("doc") Is Nothing Then<br />
<br />
Else<br />
getdoc.p_id = Request.QueryString("doc").ToString<br />
dt = getdoc.get_RTdoc<br />
If dt.Rows.Count < 0 Then<br />
<br />
Else<br />
Response.ContentType = "application/octet-stream"<br />
Response.AddHeader("Content-Disposition", "FileName:" & dt.Rows(0)(1).ToString)<br />
<br />
Response.BinaryWrite(dt.Rows(0)(0))<br />
End If<br />
<br />
End If<br />
End Sub<br />
SPC Nigeria
Thanks.
|
|
|
|
|
you need to set it so that the target control is _self
|
|
|
|
|
Please how do I set the target to self
When I open a document with my application it opens in a new document window. And I loose control from my web page
How do I open any document with my internet explorer.
The code is located in the page load event of myweb page as shown below:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />
Dim dt as new data.datatable<br />
If Request.QueryString("doc") Is Nothing Then<br />
<br />
Else<br />
getdoc.p_id = Request.QueryString("doc").ToString<br />
dt = getdoc.get_RTdoc<br />
If dt.Rows.Count < 0 Then<br />
<br />
Else<br />
Response.ContentType = "application/octet-stream"<br />
Response.AddHeader("Content-Disposition", "FileName:" & dt.Rows(0)(1).ToString)<br />
<br />
Response.BinaryWrite(dt.Rows(0)(0))<br />
End If<br />
<br />
End If<br />
End Sub<br />
SPC Nigeria
Thanks.
|
|
|
|
|
hi,
I want to add contacts in active directory.I'm able to do so.
But the problem is that they r not reflected in Address book of Microsoft outlook.
When i investigated why this is so, i found it was because of some policy.
after discussing with support guys about what they do to manually add contacts, they suggested me to use MS exchange console instead to add the contact so that it will get reflected in few minutes into address book after adding.So how do i add a contact thru this exchange server console?
I tried to search on the net but i didn't find any help.May be any of u people could help me out.
|
|
|
|