|
hi experts
my url goes like this with special characters
http://localhost:1543/india/city-hotels-in-p?lgh?t.aspx
but when i uploaded iam getting the error of 404 not found error
plz solve this?
regards
venu
|
|
|
|
|
What are the question marks? I suppose they are some special characters that were badly encoded/decoded?
if the system reads the page name as city-hotels-in-p?lgh?t.aspx and the page's current name is city-hotels-in-pâlghét.aspx for example, for sure the file will not be found. Maybe special characters can be escaped in the URL?
-- If this is a post that has been helpful to you, please vote for it. Thank you!
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook
|
|
|
|
|
venu656 wrote: http://localhost:1543/india/city-hotels-in-p?lgh?t.aspx
your url does not seem right. '?' is special character on the url and you can not use it. If you need '?' in your url then you need to encode it first.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hello .
Can you provide me any way to show Context menu in ASP.NET [ On Right click show popup menu with some command like copy paste ]
|
|
|
|
|
|
Hi,
Did anybody use Fusion widgets in vb.net or c#.
I want to know how to use it.Please help me.
Thanks in advance
Regards,
Josna
|
|
|
|
|
why fusion widget why dont you use asp.net built in widgets???
Government Dyal Singh College Lahore.
|
|
|
|
|
Let me google that for your.[^]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
In my situation i have to set the visibility of a button which is inside a grid view programatically in a button click.how can it be achieved
|
|
|
|
|
hi,
U have to either find control(button) on Databound event of gridview and ste its visibilty. or u can use foreach loop for gridview in find the control and set visibilty.
Regards
Anil Pal
|
|
|
|
|
actually there two buttons are there in every row in a grid view.
One is edit and the other is Save.by default the visibility of the Save button remain false.if the Edit button of a particular row is clicked by the user then the visibility of the corresponding Save button will be true.
|
|
|
|
|
Hi,
So, then where is the problem. You canalso use the build buttons of gridview for edit the records in grid.
Regards
Anil Pal
|
|
|
|
|
Hi All,
I want to attach Multiple files while sending EMail through SMTP. The files should be attached in a single click and I need the Fully Qualified path of the file .I have used ASP.NET File Upload control . I have implemented the functionality in thid way: Clicking on the browse in FileUpload control attaches a file. And there I have another link button "Attach another file" for attaching another file. All the files that have been attached will be displayed in a CheckBoxList.
But, I want to Browse and attach files in a single click just like GMail.
Please suggest me as to how to implement this. Can I use any Java Script for this.
archie
|
|
|
|
|
gmail uses AJAX to upload the file right away. Beyond that I don't see how your code would be any different. Press the button, select the file, and it gets uploaded when you send your form.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Thank You for your reply.
Using File Upload attaches file once. And i need to add it to a checkboxlist in another button click. To attach another file, I am again clicking on "Browse" button in FileUpload click and to add it on the checkboxlist, I need to click on the Add button again. That means every time, according to my code, I am clicking twice. I want it in such a way that in a single click (in the BROWSE click of FileUpload Control itself),the file should be uploaded and added to the CheckBoxList.
archie
|
|
|
|
|
that can not be done. The browse button only allows you to browse files in the client machine. If you want to upload the file, you need to use AJAX, as Christian mentioned it above.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
I have a dll(Borland C++) that accepts a integer pointer and i have to pass an integer array into it. The integer array gets filled with values and i need to use these values in the ASP.NET project.
How do i do it???
|
|
|
|
|
These questions have nothing to do with ASP.NET. They relate to p/invoke and C# only.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Hi,
Ok before giving any sueggstion, let me clear:
1. yr C# methode need to accept paramter frm c++ and also need to return some value to c++.
is this correct?
Please explain
Regards
Anil Pal
|
|
|
|
|
i am calling the dll from my ASP.NET project. so i am passing the integer array to the dll and i want it to be passed by reference. nothin is returned as such
|
|
|
|
|
Let me repeat what Christian told you. This has nothing to do with ASP.NET
Yes, you are using it from asp.net, but it is the function of C# you are looking for not asp.net
in any case look here[^]
p.s. Next time ask it in the right forum. This question is more appropriate in the C# forum
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
i created an GridView and fill it using Dataset as datasource it's working fine, after that i want to provide filter for that GridData, so i place an dropdown control at the header column where i want to give filter for user, after that i want to fill that control and on selection changed event i want to refill the gridview control using that selected value as filter criteria, for this purpose i use grd_RowDataBound() event of "grd" where i use following code to fill that DropDown control "drp"
protected void grd_RowDataBound(object sender, GridViewRowEventArgs e)
{
try
{
if (e.Row.RowType == DataControlRowType.Header)
{
DropDownList _Drp = (DropDownList)e.Row.FindControl("drp");
DataView DV = (DataView)this.grdCurrency.DataSource;
_Currency.DataSource = DV;
_Currency.DataTextField = DV.Table.Columns["Column1"].ColumnName;
_Currency.DataValueField = DV.Table.Columns["Column2"].ColumnName;
_Currency.DataBind();
ListItem _item = new ListItem("All", "0");
_Currency.Items.Insert(0, _item);
_Currency.SelectedIndex = 0;
}
}
catch (Exception ex)
{
//show user friendly error.
}
}
and code for DropDown selected index change as following
protected void drp_SelectedIndexChanged(object sender, EventArgs e)
{
try
{
foreach (GridViewRow Row in this.grd.Rows)
{
DropDownList _drp = (DropDownList)this.grdCurrency.Rows[0].FindControl("drp");
string _C = _drp.SelectedItem.Text;
string _Filter = (string.IsNullOrEmpty(_C)) ? "[Column1] = '" + _C + "'" : string.Empty;
string filter = string.Empty;
filter = _Filter;
DataView DV = (DataView)this.grd.DataSource;
DV.RowFilter = filter;
this.grd.DataBind();
}
}
catch (Exception ex)
{
//show user friendly error.
}
}
but when i test this code i found the "grd_RowDataBound()" event fire and refill the DropDown control where as it should filter the data and refill the DropDown Control with the existing data as per the GridView Control.
i think the bubble event fire and refill the DropDown Control where as i want to Filter the Grid with the filter of drp control event and then refill the DropDown control with the data presented in that gridview.
please help me regard this thanks and regards.
Sasmi
|
|
|
|
|
hi experts
iam using url rewriting concept
iam passing some special characters to response.redirect( "ö");
when iam passing to the browser adress iam not getting the exact way that which the special character appears insted of it was getting in "%c3%b6
for example
see the down urls
http://localhost:1543/hungary/city-hotels-in-göd.aspx. this is the correct
but iam getting in this way.......
: http://localhost:1543/hungary/city-hotels-in-g%c3%b6d.aspx
plz solve this problem
to get the exact way as special charcter appeared
Regards
venu..
|
|
|
|
|
There is no cure for this level of ignorance.
The reason it's not working, is that what you want, cannot be done.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
so we cant redirect the urls in the exact way ?
|
|
|
|