Latest developer linksBookmark and Share
 
HomeThis WeekTop MonthTop AlltimeSearchRegisterFAQ
  
 
Submit Your Link
Please login to submit your Link
 

Mirroring Issue

Posted: Jan/22/2011   By: nikhil   Points:15   Category: .NET  - ASP.Net    Views:95   Vote Up (0)   Vote Down (0)    

Hi,

            what are the major issues in Database Mirroring ?


Thank's&Regards Siva

View Complete Post


Comments:
Be the first to comment this post.
 
Post Comment
Please login to post your comment
More Related Resources

Multiple validator issue

  

A CompareValidator to check the textbox for date type and a RangeValidation the check the date range is applied to a textbox. But if user enters incorrect date format, both validators are triggered. Is there any way to set the trigger sequence so that only one validator fires in this scenaio?

Thanks.

 


Need help: Issue with Dynamic Checkboxes CheckChanged Events

  

Hello All, I have almost broken my head on this whole day today, looks like i am not getting something and thats why its not working. Someone please help.

Below is the scenario:
In the aspx page, i am dynamically adding a checkbox to an htmltable.  To its CheckChanged event, i am adding one more row in the table and adding another checkbox. I am not able to get this new checkbox's CheckChanged event. I understand that its not getting created, but i am not sure how do i handle it.
Below is the code, can someone help me correct this code and help me on how do i achieve it.

Note: I have to use the HtmlTable.Rows.Insert method only, to add the new row with its controls to the HtmlTable based on indexes.

ASPX PAGE

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>        
        <table id="tblGenerator" runat="server"></table>
    </div>
    </form>
</body>
</html>
ASPX.CS PAGE - CODE BEHIND

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace WebApplication1
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            tblGenerator.Style.Add("border", "1");
            tblGenerator.EnableViewState = true;
            HtmlTableRow tblRow = new HtmlTableRow();

            HtmlTableCell tblCellLeft = new HtmlTableCell();
            HtmlTableCell tblCellRight = new HtmlTableCell();

            Label lblOne = new Label();
            lblOne.ID = "lblOne_1";
            lblOne.Text = "This is for checkbox 1";
            tblCellLeft.Controls.Add(lblOne);

            CheckBox chkBoxOne = new CheckBox();
            chkBoxOne.ID = "chkOne_1";
            chkBoxOne.AutoPostBack = true;
            chkBoxOne.EnableViewState = true;
            chkBoxOne.CheckedChanged +=new EventHandler(chkBoxOne_CheckedChanged);
            tblCellRight.Controls.Add(chkBoxOne);

            tblRow.Cells.Add(tblCellLeft);
            tblRow.Cells.Add(tblCellRight);

            tblGenerator.Rows.Add(tblRow);            
        }

        void  chkBoxOne_CheckedChanged(object sender, EventArgs e)
        {
            CheckBox chkBox = (CheckBox)sender;

            HtmlTableRow parentRow = (HtmlTableRow)chkBox.Parent.Parent;
            HtmlTable parentTable = (HtmlTable)chkBox.Parent.Parent.Parent;

            int index = parentTable.Controls.IndexOf(parentRow);

            HtmlTableRow newRow = new HtmlTableRow();
            HtmlTableCell childTblCellLeft = new HtmlTableCell();
            HtmlTableCell childTblCellRight = new HtmlTableCell();

            Label childLblOne = new Label();
            childLblOne.ID = "childLblOne_1";
            childLblOne.Text = "This is for child checkbox";
            childTblCellLeft.Controls.Add(childLblOne);

            CheckBox childChkBoxOne = new CheckBox();
            childChkBoxOne.ID = "childChkOne_1";
            childChkBoxOne.AutoPostBack = true;
            childChkBoxOne.EnableViewState = true;
            childChkBoxOne.CheckedChanged += new EventHandler(childChkBoxOne_CheckedChanged);
            childTblCellRight.Controls.Add(childChkBoxOne);

            newRow.Cells.Add(childTblCellLeft);
            newRow.Cells.Add(childTblCellRight);

            //add 1 to the parent table's row index to insert new row to the parent table ...            
            parentTable.Rows.Insert(index + 1, newRow);            
        }

        void childChkBoxOne_CheckedChanged(object sender, EventArgs e)
        {
            Response.Write("Child checkbox changed");
        }
    }
}



 


AdditionalFields can not be found issue at client.

  

If the element name in AdditionalFields can not be found, the value will be "undefined". 

I think it'd better to be null or String.Empty, isn't it?


Auto complete extender with firefox issue

  

Dear reader,


I have this weird problem with the auto complete extender not firing in firefox, but it gets a little more complex let me try to explain.

In IE it works fine (always).

In firefox it works only if i directly browse to the page /newmember.aspx, I'll elaborate on this.


In my index.aspx i have a menu, when you click on a menu item that page gets loaded into the content div (using jquery's load command).

So basically it looks like this:  $('#Content').load("/newmember.aspx");


While newmember is embedded is in index.aspx, the auto complete extender won't work in firefox (works fine in IE).


                    <asp:TextBox ID="woonplaats" runat="server" CssClass="textbox" autocomplete="off"></asp:TextBox>

                    <asp:AutoCompleteExtender ID="woonplaats_AutoCompleteExtender" runat="server" CompletionInterval="500" DelimiterCharacters="" Enabled="True" ServiceMethod="GetCompletionList" ServicePath="~/webservices/EziLidGegevens.asmx" TargetControlID="woonplaats" MinimumPrefixLength="2" >
                    </asp:AutoCompleteExtender>


Using firebug i see that no requests get sent, Starting to lose my marbles.


Any ideas are welcome.

Auto complete extenderD


sql where clause issue

  

Hi All,

Need results from a select statement where (col1=a and col2=b) and (col1=c and col2=b)

Can't seem to get it to cooperate.


[Q] The best scenario for my issue, (Text + Images) articles

  

Hi, I'm a beginner in ASP.NET and need some help.

I'm developing an Article Engine, but I have an issue.

The user can write articles and upload images related to that article. Let's say that there is a form that collect the article text and, under it, there is a FileUpload control for images.

Here, I have a question.

What if the user has uploaded some images and then he closed the browser, before submitting, cancelling the operation? the images have been uploaded to the server wasting space!

one solution I've figured out is to store "ImageInfo"s in a list, and store the list in the Session object. And when the user submit the article, the images in the list should be marked as "related" and then inserted. and in the Session_End event I should delete every image does not have the "related" mark.

I feel my solution is not perfect or professional, I want to learn the best way please.

And I also need some useful samples links for BEGINNERS like me for this topics please, each time I find a sample, I see some very advanced techniques I don't want to see this time.


Sharepoint 2007 user group permission issue

  

Hi all,

In Sharepoint 2007 site, i am having lot many users in different sharepoint user groups.

The problem is that, when the user of site Owner's group(Full control) trying access the site, he get the permission error.

After that when i added the same user in the same group again(re-adding the user in Owner's group),

Then its working. But this kind of issue I am facing with lot many sites and sub-sites.

Can any one suggest, why the user not able to access the site even if they belongs to owner's group(Full control).

Why this issue comes.

 

Thanks in advance,

Rahul gupta


Rahul Gupta |rahul.gupta@kpitcummins.com|

Issue with language of Discussion board list?

  

Hi All,

In bilingual portal (English/Arabic), whenever I try to create discussion board, it gets created in Arabic (All list columns and messages are in Arabic) even if I create it in Englsih site. Few days back, same thing was working fine but suddenly the discusion board list columns and messages started displaying in Arabic. Please guide me on this issue. 

Thanks,

Rahul Babar


Dot Net, Sharepoint, Infopath Developer

Issue with publishing pages in bilingual site?

  

Hi All,

We have developed a bilingual portal (English/Arabic). In variations I have set option to "Recreate a new target page when the source page is republished". But it is not working as per my expectations; I deleted the page in Arabic site (target site) and again published the page in English site but it is not creating a page in Arabic site. Please guide me on this issue. I appreciate your suggestions.

Thanks,

Rahul Babar


Dot Net, Sharepoint, Infopath Developer

Infopath with Workflow Issue

  

Hi All,

http://www.bizsupportonline.net/browserforms/create-sharepoint-designer-workflow-send-email-link-infopath-browser-form.htm

As per  above url, i done the steps.its working fine. but intially when i was set the work flow for when create a new item  in form library the Workflow will started. after i create a new WF to the same form library for when item is updating.

I follow the above steps mention in the url. in mail body when i click the url link ,i made the changes, then i submit the form .i got 2 emails.

one  for createing a mail which was i already got it,and second for updating a mail.

but should be get only one mail for updating,because when a create a item in the form library , already i got the  e-mail .

I didn't understand . ?

Any idea. Please suggest.

 

Thanks

MAK


Regards, MAK..!
 
Categories:
.NET
Java
PHP
C/C++/VC++
HTML/XML
SAP
MainFrames
Data Warehousing
Testing
MySQL
SQL Server
Oracle
Javascript/VB Script
Others
Login
 
 
 
 
 Forgot password
 Contact Us   Terms Of use   Share your knowledge