|
Thanks!!
I will try the stuff and will get back to you
|
|
|
|
|
i tried your stuff its gud enough for me
but only problem is its not working with mozilla thou its working with IE
Could you help me out in this??
Regards
Nitin
|
|
|
|
|
I am not able to Debug, while working.I had been putting breakpoints but on running and pressing F10 i am not able to go to that place .Why is it happning .
While putting breakpoints i get this message as tooltip
"No symbol had been loaded for this document"
plz help
|
|
|
|
|
You're in release mode.
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 )
|
|
|
|
|
i want to display msexcel in browser window, my excel file is stored in database
|
|
|
|
|
First try recreating the excel from the db and then temperory place it in the web server.Now you can open it in a new window or do a response.Redirect to that file.\
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
hi
I am developing a site for purchase products.
So i am using paypal for payment.
I am sending reqired items on paypal and paypal ask for loginId or credit card detail.
In my testing account i login and pay the amount.
After the above process PAYPAL show conformation page and a Button (retun to you site) after clicking on that button i back on my site.
All the above proces is going well but i want to come back on my site without the paypal conformation page or button click.
(i need that because on retun from pappal i update the use account.)
please help some one.
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
You need to either not use paypal, or see if they have a paid option that does what you want. Or change your design.
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 )
|
|
|
|
|
Hi Rajiv
I am also gone through same situation. For that purpose you have to use
paypal IPN. You can send a ipn page url to paypal. While processing is carried out paypal call this page in backgroud you can check transaction status here if it is success then update user account.
If you have any query then ask me?
Regards
Rahul
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
hello rahul
very very thanks for your ipn idea.
my problem has been solved
Rajeev Kr. Sharma
VRI Software Pvt.Ltd.
New Delhi India
HumOnline.com
Stay Connected
|
|
|
|
|
Hi All,
Can any body please help me in writing a dialogue box, so that it will have some DropDown list box and a button in it. When the button is clicked it should return some values/value to the web form. Can any body give me an easy to understand blog or any code snippet. Any kind of help is thankfull.
Thanks,
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Your question doesn't make any sense to me. Are you trying to create a custom web control ?
|
|
|
|
|
Hi,
I have one web form and i want to put a dialogue box in it so that a selected value of the dialogue box should appear in the calling web form. Means two ways communication between form and dialogue box.
Doesnt it sense really Navneeth?
Thanks,
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
You can do it in a number of ways
1) use a div and javascript to do this.
<div id="test" style="visibility:hidden;">
Your content that need to be shown as a dig box
</div>
function showDialog()
{
document.getElementById("test").style.visibility = visible;
document.getElementById("test").style.top = event.clientY + "px";
document.getElementById("test").style.left = event.clientX + "px";
}
similarrly write the functiont o hide it by setting the visibility to hidden.
2) If you are using Ajax use the model popup extender that is comming with the ajax control tool kit.
demo is here
http://asp.net/AJAX/AjaxControlToolkit/Samples/ModalPopup/ModalPopup.aspx
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Hi Laddie,
Good Idea from you Laddie but I have tried with this already and putting it at appropriate place is difficult. So I have choosen to go for the dialog box of VB.Net or C#.Net so that it can be shown and when button is clicked it will return some value to the calling web form.
Thanks,
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
then why not try using Prompt("Enter a value") in java script
You can use like this....
var ret = Prompr("dsjgbfd");
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Hi Laddie,
Prompt will not work Laddie because I have to put some set of controls like combobox textboxes and button etc.
I tried with this but when I make the div1 invisible the div2 part should automatically occupy the div1 place. But here it is leaving some space. I tried to chenge it style position then its giving error. Any help if possible.
Thanks,
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
indian143 wrote: So I have choosen to go for the dialog box of VB.Net or C#.Net so that it can be shown and when button is clicked it will return some value to the calling web form.
After all the time you've been posting here, you still don't know how ASP.NET works ? You can't run a C# or VB.NET winforms dialog box from a web app.
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 )
|
|
|
|
|
Hi Christian
Read from this link : http://microsoft.apress.com/asptodayarchive/73815/using-modal-dialog-boxes-in-aspnet-applications. And it is possible.
Please dont misunderstand me that I am asking wrong questions.
Thanks,
Aleem Mohammad.
S/W Engineer
Akebono Soft Technologies
aleem_abdul@akebonosoft.com.
|
|
|
|
|
Hi friends,
I want to bind my dataset to OWC 11 of pivot control. May i know how to use this and how can i bind the dataset to OWC pivot control.
Thanks in advance
Kavitha
|
|
|
|
|
i m using fckeditor for letter management,how to reduce line spacing in this editor?
|
|
|
|
|
Hi all,
I have one datagrid, i am binding the datagrid with records from DB.My need is if i click one of the binded record that particular record should be added to the another datagrid.
It should be on serverside only.
Can any body give idea to do this.
Thanks in advance,
eswar.
|
|
|
|
|
Handle datagrid's ItemCommand event. Caste datagrid's DataSource to a DataTable instance if you used it for binding. Find the row index from event handler parameters, fetch the row from DataTable using this index. Create new DataTable instance and add the DataRow (You need to clone it) to there. Bind the second grid with this new datatable.
|
|
|
|
|
Hi!
I have a project made up of asp.net website (2008) and a class library project.
my class library project is a DAL which is accessed via BLL that is in asp.net website.
DAL is made up of several tableadapters in a dataset.
I need to dynamically change connection properties of tableadapters in DAL if change is made in web.config file in asp.net website. I am just not sure how could i achieve this.
my BLL (which is not working currently)
------
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using myDAL.DAL;
[System.ComponentModel.DataObject]
public class EmployeesBLL
{
private myDAL.DAL.dsEmployeeTableAdapters.getEmployeeTableAdapter empTableAdapter = null;
private string ConnString
{
get
{
string conn=null;
return conn = System.Web.Configuration.WebConfigurationManager.ConnectionStrings["db1ConnectionString"].ConnectionString;
Console.WriteLine(conn);
}
}
protected myDAL.DAL.dsEmployeeTableAdapters.getEmployeeTableAdapter Adapter
{
get
{
if (empTableAdapter == null)
empTableAdapter = new myDAL.DAL.dsEmployeeTableAdapters.getEmployeeTableAdapter();
return empTableAdapter;
}
}
[System.ComponentModel.DataObjectMethodAttribute
(System.ComponentModel.DataObjectMethodType.Select, true)]
public dsEmployee.getEmployeeDataTable GetEmployees()
{
return Adapter.GetEmployee ();
}
}
------
my DAL ( not sure if i am doing this correctly)
----
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace myDAL
{
public partial class Employee
{
public DataTable getEmp(string ConnectionString)
{
SqlConnection conn =null ;
try
{
conn = new SqlConnection(ConnectionString);
DataTable dt = new DataTable();
DAL.dsEmployeeTableAdapters.getEmployeeTableAdapter eta = new myDAL.DAL.dsEmployeeTableAdapters.getEmployeeTableAdapter();
eta.Connection.ConnectionString = conn.ToString();
dt = eta.GetEmployee();
return dt;
}
catch (Exception ex)
{
Console.Write("Error in connection : " + ex.Message);
return new DataTable();
}
finally
{
conn.Close();
}
}
}
}
asp.net website aspx page
<asp:GridView ID="gvEmployee" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:BoundField DataField="employeeid" HeaderText="employeeid"
InsertVisible="False" ReadOnly="True" SortExpression="employeeid" />
<asp:BoundField DataField="loginid" HeaderText="loginid"
SortExpression="loginid" />
<asp:BoundField DataField="title" HeaderText="title" SortExpression="title" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
OldValuesParameterFormatString="original_{0}" SelectMethod="GetEmployees"
TypeName="EmployeesBLL"></asp:ObjectDataSource>
please help
|
|
|
|
|
When you make changes in the web.config, your application will restart. Next time when you access the connection string, you will get the updated one.
|
|
|
|