|
Hi,
I have a problem when integrating payment process. I send a (url+query string of my site) to payment site in form of hidden field, when i do payment, payment site gives me a link in which href is same as url given by me.
Now when i click the url i actually update the payment details in my system.
Now i want to confirm that this url is coming from payment site not from my site as any one can update the details by hitting the url.
Please help me to get the address of site who send me the url.
Regards,
Anup
|
|
|
|
|
|
Thanks for reply..
I am using the same but it gives me the url of current page instead of page from where url is opened up.
Have you any other trick??
Thanks
|
|
|
|
|
Hi,
I want to change value of textbox2 while entering value in textbox1.
Is it possible?
Thanks
|
|
|
|
|
sjs4u wrote: Is it possible?
Yes. Hook onkeypressed or changed JS events. Get the current text from textbox1 and set to textbox2.
|
|
|
|
|
R u really a programmer?
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
|
cos I cant believe, an ASP.NET programmer dont know what u have asked
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
My question was simple.
Though I know the JS and the above solution given by navneet.
I was thinking, if any other solution was there or not instead of writing JS.
|
|
|
|
|
U can use events running on server also, but it'll cause postback n ur page will be refreshed on every change. so the best solution is using Javascript use "tb1.onlostfocus" event for best result if u want to change tb2 after completing writting in tb1. otherwise use tb1.onkeyup" for changing tb2 for every character pressed in tb1.
got it buddy?
Anand Desai
Developer
Atharva Infotech
|
|
|
|
|
|
Is it possible? And if it is, then how? (InProc session with cookieless="false")
modified on Tuesday, August 5, 2008 3:38 AM
|
|
|
|
|
Sessions are not shared. Why do you want to do that ?
|
|
|
|
|
Sessions are unique to the user and their browser
|
|
|
|
|
hi every one,
I developed one web application from there i calling one table from database
that time i retrieving all the info from table but images are not displaying to my page.I cleared mention the path of image file in varchar field.why i am not getting?
|
|
|
|
|
Hi,
I think you should refer to the relative path, and not the absolute path as to show the image in the web page.
Here is just a suggestion. When you are saving the image, save only the image name in the database, and get the relative path and construct the path and display.
Hope it helps,
Thx,
Gayani
|
|
|
|
|
hiiiii......
The images you stored in the database have to be converted into bytes while retreiving, for this you hav to store image path,it's length n it's type...
you will also need a handler file..
try it....i hope it will help you, i have done this before!!!!
|
|
|
|
|
In my form there are other controls .I want to print only report viewer on button click .
I use window.print() on that button click but it print all the controls and master page tree view etc.That are displayed in that page.How can i print reportviewer on button click
|
|
|
|
|
window.print tells browser to print the whole page. It can't print the required area alone. Normal method is to put the things required on a separate page and print that page.
|
|
|
|
|
Hi guys Good morning,
If u see some job ports they will give some textbox to enter work experience...,
If u have more than one, then whenever u will click add more link it will create dynamic textbox and there u can add another one,
Like that the option will continue for number of times..,
Finally when we will click the button it have to store in database..,
How they are getting the dynamic controls id and saving it in to datatbase...,
I have searched in google..,
But they are talking about dynamic control creation but i didnt get how to save those datas in to our database...,
Plz give me some ideas or url sites regarding this...,
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Follow these steps
Step 1 : Create one method to create dynamic TextBoxes controls
public int count = 5;
public void createTextBoxes()
{
if (ViewState["count"] != null)
count = int.Parse(ViewState["count"].ToString());
else
ViewState["count"] = "5";
TextBox myText;
Table tbl = new Table();
TableRow tr;
TableCell tc;
for(int i=1;i<=count;i++)
{
myText = new TextBox();
tr = new TableRow();
tc = new TableCell();
myText.ID = "txt_" + i.ToString();
tc.Controls.Add(myText);
tr.Cells.Add(tc);
tbl.Rows.Add(tr);
}
PH.Controls.Add(tbl);
}
Step 2: Call this method on page load event.Do not call this method on IsPostBack Condition.
Page_Load()
{
createTextBoxes();
}
Step 3: Now On save button click event, Write this code
if (ViewState["count"] != null)
count = int.Parse(ViewState["count"].ToString());
else
ViewState["count"] = "5";
for(int i=1;i<=count;i++)
{
String myText = ((TextBox)this.Page.FindControl("txt_"+ i.ToString())).Text;
}
Step 4: If you want to add more TextBox on Add event,just increament viewState value and call that method
please don't forget to vote on the post that helped you.
|
|
|
|
|
No i didnt ask this one,
I asked actually in one link button click it have to add one textbox in my form...,
After enter that if my enduser need to fill one more if he click that link button it have to add one more textbox like this i need...........,
Finall the datas have to store into my database
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
You can create TextBox instance and add it to a placeholder. But you will end up with viewstate issues. So easy method would be adding text boxes to a gridview/datagrid.
Put a gridview with textboxes placed inside template columns. When user clicks the "Add more" button, add a new row to the grid's datasource and rebind grid. Viewstate for the newly created row will be maintained along with it's parent control, hence you don't get weird viewstate problems.
|
|
|
|
|
YA in footer template if i include, my template textboxes its ok,
But in starting time there is no records in my grid...,
So its not at all showing the footer template columns...,
How u will resolve this one?,
Ya if u dont mind give me some articles of thios one,
(URL sites)
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
Hi
I want to create menu using CSS.
there are four depth level in my menu.
Main Menu -> Sub Menu -> 2SubMenu -> 3SubMenu.
suppose if there is 10 Items in 2SubMenu then I want to break these into two or three(depends on items count) columns each contains 5 items.
for example i want like this -
Main
SubMenu->AA|DD
BB|EE
CC|FF
HH|JJ
UU|YY
can any body help me .
how to break using CSS. which property in CSS supports such facility.
Thanks & Regards,
Sunil
|
|
|
|