|
Note this is the ASP.NET forum. You may get a better response by moving it the Web Development forum.
only two letters away from being an asset
|
|
|
|
|
|
When i want to rewrite an url which passing some parameter then it gives error in connecting.
code which i write in web.config is:
<url>param\.aspx</url>
<rewrite>UserDetail.aspx?UserName={0}</rewrite>
|
|
|
|
|
hello every body,
Can datalist be run from code behind.
actually i had an array and wants to run datalist with different select statement
is it posible to do this.
regards
rahul saini
|
|
|
|
|
Well i cud not understand your question...what r u trying to achieve...please explain the scenario
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
Hi,
Actually I had two nested datalist.
one is fetching categoryId
and second is fetching subCategory.
i able to fetch the category but i m unable to fetch the subCategories of that category.
I have to set second selectCommand with the categoryId of first datalist.
out put should be like dis.
Category1
Subcategory1
Subcategory2
Subcategory3
Category2
Subcategory1
Subcategory2
Category3
Subcategory1
Subcategory2
Subcategory3
their r n no of categories and n no of subcategories.
regards
rahul
rahul saini
|
|
|
|
|
Try using a DataSet and setting the relationship between the two DataTables. Then you can use the GetChildRows method.
only two letters away from being an asset
|
|
|
|
|
hi all
I have page main contain a iframe
On the page main have treeview and i use Ajax
tag UpdatePanel contain tree view but it not contain iframe
when i click event SelectedNodeChanged on tree view i want ReLoad iframe
On the function i try javacript but it not run
protected void treeview_SelectedNodeChanged(object sender, EventArgs e)
{
string strScript = "";
strScript += " window.parent.frames['ifmap'].ReLoad();";
//OR parent.frames['ifmap'].ReLoad();
strScript += "";
Page.RegisterStartupScript("ClientScript", strScript);
}
How can i Reload iframe on above function by any ways ?????
|
|
|
|
|
ReLoad() ?? Is that a Javascript function you have created?
By definition you have already "reloaded" your page. This is a server-side event so a postback has been caused by handling this event. What is it you are trying to accomplish?
only two letters away from being an asset
|
|
|
|
|
thanks
can u show me any way reload or refresh iframe by javacript or code behide.
ReLoad() is function javacript
function ReLoad() {
__doPostBack('LinkButton1','');
}
So when i use Ajax tag <asp:updatepanel id="UpdatePanel1" runat="server">
any my function javacript it not run ????
|
|
|
|
|
The ReLoad javascript function must be on the page that is in the iframe.
only two letters away from being an asset
|
|
|
|
|
it function Reload() in iframe !!!
when i didn't use ajax so i call it ok.
When i add ajax not run ?????
And now in my page same contain function Reload() too.
|
|
|
|
|
Hi,
Can any body help me ..How to send voice mail using asp.net?
Thanks in advance!!
Thanks in advance
Narendra
|
|
|
|
|
can i integrate perforce with sharepoint server2007,if any one knows kindly help me....
srinivas
|
|
|
|
|
can i design a web based calender using css. if yes then a little code will be of great help.
|
|
|
|
|
|
hi
I want to do a project in asp.net... so any body can suggest me a project... ...:
thanks in advance
|
|
|
|
|
Hi,
try and develop a Library Management System, It will have users like normal users and admin users. Books will be arranged under different categories or subjects. Users can view/dld etc books. Admin can upload books etc.
Good Luck,
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
Hello Everybody,
Can one datalist have another datalist in it.
Actually i have to fatch data from two tables.
one table is category and other is having subCategories.
i want to fatch data in following format:
Category1
subCategoey1
subCategoey2
subCategoey3
subCategoey4
Category2
subCategoey1
subCategoey2
Category3
subCategoey1
subCategoey2
subCategoey3
subCategoey4
subCategoey5
their is n no of category and each category can have n no of subcategory.
Please help,
Regards
rahul saini
|
|
|
|
|
Yes u can got one link try it:
http://forums.asp.net/thread/298129.aspx
Hope it helps u...
|
|
|
|
|
Hello Sir,
Thanks for ur help, but that artical does't fullfill my need.
Actually the only proble i m facing in fatching data from second table as I m using category Id of first table to get data from secong table.
but i m unable to do so.
Regards
rahul saini
|
|
|
|
|
Hi
You can have datalist inside datalist.
Add an ItemDataBound event for the first datalist.
Add proper event for the first datalist with proper arguments.
This event will automatically be fired when you are binding data at run time.
Go to code behind file, you have to add some code to fetch Category ID (that is from the first datalist).
If you are displaying Category ID in the first column of DataList. Then you can use 'e.Item.Cells[0].text' and the sub category can be fetched based on this category ID. Hope you are returning dataset from the database. Bind it for the second datalist using that dataset.
Or, if you are using a hidden variable to store Category ID then use FindControl() method.
Hope this is clear.
Harini
|
|
|
|
|
Hello Harini,
Thanks for your sollution.
I had fetch the categoryId from first datalist
and stored in an hidden label
and also i am able to find that categoryId using FindControl() but
when i am unable to run select command for each categoryId
when program is run it shows the last category record to all the categories.
i m using this :
protected void Page_Load(object sender, EventArgs e)
{
Label lblCategoryId = new Label();
foreach (DataListItem dataitem in categoryListDL.Items)
{
lblCategoryId = (Label)dataitem.FindControl("lbl_hidden_category_id");
string subCategoryQuery = "SELECT * FROM subCategory WHERE categoryId ='" + lblCategoryId.text + "'";
subCategoryDS.SelectCommand = subCategoryQuery;
}
}
one more thing i m using datasource for fetching data from data base.
Regards
Rahul
rahul saini
|
|
|
|
|
Hi,
Could anybody explain me the difference between Finalizer and destructor methods?
Both are called implicitly.
When and Which method is called?
Thnak YOu,
-Saranya
|
|
|
|
|
Hi All,
I need to put reminders on my Web base Project. The requirment is if certain user doesn't logon the sie the it should send a mail to admin user.
Please help me...
Thanks in advance...
|
|
|
|